Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.0009734/0.0009734, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009655/0.0009655, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9835/0.9835, allocations: 230.6 MB / 256 MB, free: 9.809 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.8158/0.8158, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Integers.Sources.Validation.TimeTable,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.0009442/0.0009442, allocations: 70.67 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5664, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001459/0.5679, allocations: 0.6736 MB / 0.8185 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.5692, allocations: 1.39 MB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.5692, allocations: 5.5 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.5697, allocations: 181.2 kB / 0.8201 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.5698, allocations: 111.4 kB / 0.8202 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.5704, allocations: 243.1 kB / 0.8204 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.5709, allocations: 0.491 MB / 0.8209 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.571, allocations: 8.281 kB / 0.8209 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.5712, allocations: 201.8 kB / 0.8211 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.5715, allocations: 238 kB / 0.8213 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.5716, allocations: 19.91 kB / 0.8213 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.5718, allocations: 96.12 kB / 0.8214 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.5722, allocations: 274.5 kB / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.5723, allocations: 152.3 kB / 0.8218 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.5728, allocations: 487.1 kB / 0.8223 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5728, allocations: 0.6094 kB / 0.8223 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5728, allocations: 0 / 0.8223 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5728, allocations: 1.5 kB / 0.8223 GB, free: 15.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008294/0.5737, allocations: 0.576 MB / 0.8229 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5737, allocations: 9.469 kB / 0.8229 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.5738, allocations: 33.64 kB / 0.8229 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.5739, allocations: 34.97 kB / 0.8229 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.5743, allocations: 326.2 kB / 0.8232 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.5743, allocations: 14.41 kB / 0.8233 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.5743, allocations: 17.64 kB / 0.8233 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.5746, allocations: 189.4 kB / 0.8235 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.5746, allocations: 5.125 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.5746, allocations: 1.406 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5746, allocations: 1.094 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.5748, allocations: 112.8 kB / 0.8236 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.5752, allocations: 362.1 kB / 0.8239 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.5755, allocations: 313.5 kB / 0.8242 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.5757, allocations: 126.3 kB / 0.8243 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.5757, allocations: 1.812 kB / 0.8243 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.5761, allocations: 290.5 kB / 0.8246 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.5761, allocations: 0 / 0.8246 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.00065/0.5768, allocations: 0.4951 MB / 0.8251 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.5768, allocations: 110.2 kB / 0.8252 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.5772, allocations: 401.2 kB / 0.8256 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.5772, allocations: 41.06 kB / 0.8256 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5773, allocations: 153.7 kB / 0.8258 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.5774, allocations: 45.91 kB / 0.8258 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.5775, allocations: 117.9 kB / 0.8259 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5776, allocations: 347.5 kB / 0.8263 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.5778, allocations: 86.25 kB / 0.8263 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.5782, allocations: 474.2 kB / 0.8268 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.5785, allocations: 253.6 kB / 0.827 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5785, allocations: 1.312 kB / 0.827 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004556/0.5789, allocations: 336.6 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.579, allocations: 10.53 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.579, allocations: 4.781 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.579, allocations: 5.25 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.5791, allocations: 28.58 kB / 0.8274 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.5791, allocations: 6.25 kB / 0.8274 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.5795, allocations: 66.38 kB / 0.8275 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.5796, allocations: 11.14 kB / 0.8275 GB, free: 11.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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 0.00021/0.5798, allocations: 195.9 kB / 0.8277 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.5798, allocations: 32.84 kB / 0.8277 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.5799, allocations: 33.55 kB / 0.8277 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5799, allocations: 3.109 kB / 0.8277 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5799, allocations: 0 / 0.8277 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.5799, allocations: 10.92 kB / 0.8277 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.5802, allocations: 254.1 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5802, allocations: 1.125 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.5802, allocations: 8.609 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5802, allocations: 5.094 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5802, allocations: 10.53 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5802, allocations: 1.656 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5802, allocations: 1.156 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.5811, allocations: 436.6 kB / 0.8284 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.5812, allocations: 30.88 kB / 0.8285 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.5812, allocations: 11.09 kB / 0.8285 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.5813, allocations: 3.062 kB / 0.8285 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.5813, allocations: 21.09 kB / 0.8285 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.5813, allocations: 16.11 kB / 0.8285 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003419/0.5817, allocations: 288.8 kB / 0.8288 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5817, allocations: 4 kB / 0.8288 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002858/0.582, allocations: 80.39 kB / 0.8289 GB, free: 11.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000816/0.5828, allocations: 0.9962 MB / 0.8298 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.5832, allocations: 251 kB / 0.8301 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5832, allocations: 0 / 0.8301 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.5833, allocations: 121.3 kB / 0.8302 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.5836, allocations: 31.23 kB / 0.8302 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.5868, allocations: 3.265 MB / 0.8334 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.5871, allocations: 0.7664 MB / 0.8342 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.5872, allocations: 50.14 kB / 0.8342 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5873, allocations: 80.36 kB / 0.8343 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.5873, allocations: 3.938 kB / 0.8343 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.6113, allocations: 7.828 MB / 0.8419 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/7.413, allocations: 9.375 kB / 0.8419 GB, free: 4.73 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.425736441044137] Failed to read output from testmodel.py, exit status != 0: 7.494261436862871 7.510500319 6.934711442 Calling exit ...