Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.951/0.951, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7839/0.7839, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000934/0.000934, allocations: 65.95 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5419, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001662/0.5436, allocations: 0.7349 MB / 0.8185 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.5447, allocations: 1.165 MB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.5448, allocations: 0 / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.5448, allocations: 8.641 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.704e-05/0.5449, allocations: 18.75 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.5453, allocations: 138.4 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.5454, allocations: 113.5 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.5455, allocations: 18.03 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.5457, allocations: 41.67 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.5458, allocations: 36.56 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.5458, allocations: 10.5 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.5459, allocations: 31.7 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.5459, allocations: 13.17 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.5459, allocations: 35.31 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.5462, allocations: 121.1 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5462, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5462, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5462, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005951/0.5468, allocations: 332.4 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5468, allocations: 11.72 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.5469, allocations: 35.92 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.5469, allocations: 16.19 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.547, allocations: 119.4 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.547, allocations: 3.781 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.547, allocations: 10.91 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5472, allocations: 58.92 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5472, allocations: 3.938 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5472, allocations: 10.28 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5472, allocations: 0 / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.5473, allocations: 47.39 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.5477, allocations: 283.8 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.5479, allocations: 60.8 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.5479, allocations: 34.66 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.5479, allocations: 0.7031 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.5481, allocations: 88.92 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.5481, allocations: 4 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003037/0.5484, allocations: 141.6 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.5484, allocations: 54.78 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.5485, allocations: 120.8 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5485, allocations: 29.02 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.5486, allocations: 91.05 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.5486, allocations: 24.59 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.5487, allocations: 37.88 kB / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.5487, allocations: 329.2 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.5489, allocations: 80.56 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.549, allocations: 114.5 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.5491, allocations: 139.5 kB / 0.8224 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5491, allocations: 4 kB / 0.8224 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002824/0.5494, allocations: 238.9 kB / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.5494, allocations: 39.92 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5495, allocations: 2.031 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5495, allocations: 1.188 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.5495, allocations: 11.08 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5495, allocations: 7.906 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5497, allocations: 42.09 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.5497, allocations: 7 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.5498, allocations: 123.1 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.5498, allocations: 6.328 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.5498, allocations: 10.75 kB / 0.8229 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.5498, allocations: 1.344 kB / 0.8229 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5498, allocations: 5.344 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5498, allocations: 4.797 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.5501, allocations: 345.9 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5501, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.5502, allocations: 9.047 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.5502, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5502, allocations: 5.891 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5502, allocations: 2.156 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5502, allocations: 0 / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.5507, allocations: 217.4 kB / 0.8234 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.5507, allocations: 6.297 kB / 0.8234 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.5507, allocations: 5.922 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.5507, allocations: 11.02 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.5508, allocations: 9.734 kB / 0.8235 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.5508, allocations: 2.156 kB / 0.8235 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.5508, allocations: 93.55 kB / 0.8236 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5508, allocations: 0 / 0.8236 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001899/0.551, allocations: 24.09 kB / 0.8236 GB, free: 12.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005141/0.5515, allocations: 0.7524 MB / 0.8243 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.5519, allocations: 198.9 kB / 0.8245 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5519, allocations: 0 / 0.8245 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.5519, allocations: 33.47 kB / 0.8245 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.5522, allocations: 20.42 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.5538, allocations: 1.805 MB / 0.8263 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.5538, allocations: 76.36 kB / 0.8264 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.5539, allocations: 8.812 kB / 0.8264 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.5539, allocations: 21.05 kB / 0.8264 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5539, allocations: 0 / 0.8264 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.57, allocations: 3.217 MB / 0.8296 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/7.433, allocations: 4.312 kB / 0.8296 GB, free: 9.23 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.376830656081438] Failed to read output from testmodel.py, exit status != 0: 7.510872466024011 7.525557455 6.977264871 Calling exit ...