Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006945/0.0006945, allocations: 84.44 kB / 19.91 MB, free: 0 / 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.0008132/0.0008132, allocations: 169.2 kB / 23.19 MB, free: 1.371 MB / 18.57 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.925/0.925, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7461/0.7461, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.0009222/0.0009222, allocations: 71.89 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5155, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001769/0.5172, allocations: 0.8129 MB / 0.7199 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.519, allocations: 1.465 MB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.5191, allocations: 10.22 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.5196, allocations: 197 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.5198, allocations: 115.1 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.5207, allocations: 376.6 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008165/0.5215, allocations: 0.8742 MB / 0.7229 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.5217, allocations: 62.98 kB / 0.7229 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.5223, allocations: 449.4 kB / 0.7234 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.5228, allocations: 286.9 kB / 0.7236 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.523, allocations: 44.84 kB / 0.7237 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.5233, allocations: 120.7 kB / 0.7238 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.5238, allocations: 363.1 kB / 0.7241 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.5241, allocations: 235 kB / 0.7244 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.5252, allocations: 1.039 MB / 0.7254 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5252, allocations: 0 / 0.7254 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5252, allocations: 4.5 kB / 0.7254 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.5253, allocations: 1.781 kB / 0.7254 GB, free: 20.57 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.001554/0.5268, allocations: 0.8367 MB / 0.7262 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5269, allocations: 9.5 kB / 0.7262 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.5271, allocations: 54.94 kB / 0.7263 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.5277, allocations: 0.4906 MB / 0.7267 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.5277, allocations: 25.2 kB / 0.7268 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.5278, allocations: 33.62 kB / 0.7268 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.5281, allocations: 308.9 kB / 0.7271 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5281, allocations: 8.125 kB / 0.7271 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5282, allocations: 11.36 kB / 0.7271 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5282, allocations: 2.125 kB / 0.7271 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.5284, allocations: 217.4 kB / 0.7273 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.5296, allocations: 1.006 MB / 0.7283 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.5301, allocations: 460.7 kB / 0.7287 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.5302, allocations: 177.8 kB / 0.7289 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5302, allocations: 6.812 kB / 0.7289 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/0.5306, allocations: 331.5 kB / 0.7292 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.5306, allocations: 4.938 kB / 0.7292 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0007452/0.5313, allocations: 0.6241 MB / 0.7298 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5314, allocations: 116 kB / 0.73 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.5319, allocations: 0.6009 MB / 0.7305 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.532, allocations: 44.89 kB / 0.7306 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.5321, allocations: 217.1 kB / 0.7308 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.5322, allocations: 56.83 kB / 0.7308 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.5324, allocations: 183.8 kB / 0.731 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.5324, allocations: 360.1 kB / 0.7314 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.5326, allocations: 128 kB / 0.7315 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.5332, allocations: 1.775 MB / 0.7332 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.5335, allocations: 296.9 kB / 0.7335 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5335, allocations: 5.188 kB / 0.7335 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000469/0.5339, allocations: 424.5 kB / 0.7339 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.534, allocations: 5.406 kB / 0.7339 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.534, allocations: 4.125 kB / 0.7339 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.534, allocations: 10.05 kB / 0.7339 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.5341, allocations: 35.02 kB / 0.734 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.5341, allocations: 10.62 kB / 0.734 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.5348, allocations: 129 kB / 0.7341 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.5348, allocations: 11.97 kB / 0.7341 GB, free: 14.93 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.0002444/0.535, allocations: 258.6 kB / 0.7344 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.5351, allocations: 42.88 kB / 0.7344 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.5351, allocations: 52.48 kB / 0.7344 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5351, allocations: 2.656 kB / 0.7345 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5351, allocations: 0 / 0.7345 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.5352, allocations: 58.97 kB / 0.7345 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.5352, allocations: 6.578 kB / 0.7345 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.5353, allocations: 18.36 kB / 0.7345 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.5354, allocations: 35.77 kB / 0.7346 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004626/0.5359, allocations: 0.6801 MB / 0.7352 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00054/0.5364, allocations: 0.8017 MB / 0.736 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001741/0.5366, allocations: 155.4 kB / 0.7362 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004028/0.537, allocations: 438.5 kB / 0.7366 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of Backend: time 6.11e-07/0.537, allocations: 0 / 0.7366 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007903/0.5378, allocations: 295.1 kB / 0.7369 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001017/0.5388, allocations: 1.139 MB / 0.738 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.01351/0.5523, allocations: 9.015 MB / 0.7468 GB, free: 10.98 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.395363014191389] Failed to read output from testmodel.py, exit status != 0: 0.5580130738671869 0.568800429 0.041275157 Calling exit ...