Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0007342/0.0007342, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0007347/0.0007347, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8537/0.8537, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.7731/0.7731, allocations: 203.8 MB / 0.5049 GB, free: 0.6953 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [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.000945/0.000945, allocations: 71.89 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4188, allocations: 102 MB / 0.8191 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001613/0.4204, allocations: 0.8606 MB / 0.8199 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.4221, allocations: 1.496 MB / 0.8214 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.4222, allocations: 2.75 kB / 0.8214 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.4227, allocations: 194.8 kB / 0.8216 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.4228, allocations: 116.8 kB / 0.8217 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.4236, allocations: 369.7 kB / 0.8221 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.4245, allocations: 0.8918 MB / 0.8229 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.4246, allocations: 62.3 kB / 0.823 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.4251, allocations: 345.9 kB / 0.8233 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.4255, allocations: 289.2 kB / 0.8236 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.4257, allocations: 45.31 kB / 0.8236 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.4259, allocations: 125.1 kB / 0.8237 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.4263, allocations: 368.7 kB / 0.8241 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.4266, allocations: 274 kB / 0.8244 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.4275, allocations: 0.9172 MB / 0.8253 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4276, allocations: 2.562 kB / 0.8253 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4276, allocations: 0 / 0.8253 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.4276, allocations: 0 / 0.8253 GB, free: 22.23 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001318/0.4289, allocations: 0.8321 MB / 0.8261 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4289, allocations: 10.53 kB / 0.8261 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.4291, allocations: 55.48 kB / 0.8261 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.4297, allocations: 494.3 kB / 0.8266 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.4297, allocations: 26.98 kB / 0.8266 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/0.4298, allocations: 34.27 kB / 0.8267 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.4302, allocations: 310.8 kB / 0.827 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4302, allocations: 1.344 kB / 0.827 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4302, allocations: 10.7 kB / 0.827 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.4302, allocations: 3.312 kB / 0.827 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.4305, allocations: 225.4 kB / 0.8272 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4319, allocations: 1.157 MB / 0.8283 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.4324, allocations: 456.4 kB / 0.8288 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.4325, allocations: 178.9 kB / 0.8289 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4326, allocations: 5.594 kB / 0.8289 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.4329, allocations: 333.7 kB / 0.8293 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.4329, allocations: 0 / 0.8293 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0007772/0.4337, allocations: 0.6316 MB / 0.8299 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.4337, allocations: 123.4 kB / 0.83 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.4343, allocations: 0.5922 MB / 0.8306 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.4344, allocations: 49.09 kB / 0.8306 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.4345, allocations: 216.4 kB / 0.8308 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.4345, allocations: 52.88 kB / 0.8309 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.4347, allocations: 183.7 kB / 0.831 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.4348, allocations: 364.5 kB / 0.8314 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4349, allocations: 127.1 kB / 0.8315 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.4355, allocations: 0.7081 MB / 0.8322 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.4358, allocations: 306 kB / 0.8325 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4358, allocations: 1.281 kB / 0.8325 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004641/0.4362, allocations: 419.5 kB / 0.8329 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4363, allocations: 6.5 kB / 0.8329 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4363, allocations: 5.016 kB / 0.8329 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4363, allocations: 4.562 kB / 0.8329 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4364, allocations: 40.47 kB / 0.833 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4364, allocations: 5.219 kB / 0.833 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.4371, allocations: 133.6 kB / 0.8331 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.4371, allocations: 23.64 kB / 0.8331 GB, free: 17.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002279/0.4373, allocations: 266.6 kB / 0.8334 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.4374, allocations: 43.92 kB / 0.8334 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.4374, allocations: 51.8 kB / 0.8335 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4374, allocations: 7.047 kB / 0.8335 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4374, allocations: 1.5 kB / 0.8335 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4374, allocations: 2.234 kB / 0.8335 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.4377, allocations: 370.7 kB / 0.8338 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4377, allocations: 1.844 kB / 0.8338 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.4378, allocations: 10.06 kB / 0.8338 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4378, allocations: 1.094 kB / 0.8338 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4378, allocations: 10.56 kB / 0.8338 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4378, allocations: 9.281 kB / 0.8338 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4378, allocations: 1.781 kB / 0.8338 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.4383, allocations: 0.5142 MB / 0.8343 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.4383, allocations: 46.56 kB / 0.8344 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.4384, allocations: 3.953 kB / 0.8344 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.4384, allocations: 30 kB / 0.8344 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.4385, allocations: 33.44 kB / 0.8345 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.4385, allocations: 13.89 kB / 0.8345 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003667/0.4389, allocations: 433 kB / 0.8349 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4389, allocations: 1.625 kB / 0.8349 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003951/0.4393, allocations: 115.2 kB / 0.835 GB, free: 16.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001871/0.4395, allocations: 141.7 kB / 0.8351 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.4399, allocations: 355.6 kB / 0.8355 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4399, allocations: 3.938 kB / 0.8355 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.4401, allocations: 195.7 kB / 0.8357 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.4404, allocations: 37.97 kB / 0.8357 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/0.4413, allocations: 0.8935 MB / 0.8366 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.4416, allocations: 0.8283 MB / 0.8374 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.4416, allocations: 38.66 kB / 0.8374 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4416, allocations: 4 kB / 0.8374 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.009604/0.4512, allocations: 7.036 MB / 0.8443 GB, free: 14.41 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.985523676965386] Failed to read output from testmodel.py, exit status != 0: 0.4570264278445393 0.46482987699999995 0.035593985 Calling exit ...