Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001399/0.001399, allocations: 78.64 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001478/0.001478, allocations: 165.8 kB / 22.45 MB, free: 5.367 MB / 14.72 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 1.456/1.456, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.185/1.185, allocations: 154.7 MB / 413.9 MB, free: 5.141 MB / 382.1 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 178] 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.484e-05, allocations: 6.281 kB / 0.6188 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001737/0.001762, allocations: 0.6434 MB / 0.6194 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.003907, allocations: 1.358 MB / 0.6207 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.003965, allocations: 0 / 0.6207 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.004496, allocations: 195.4 kB / 0.6209 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.004634, allocations: 107.7 kB / 0.621 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007635/0.005397, allocations: 237.1 kB / 0.6212 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.005974, allocations: 495.7 kB / 0.6217 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.006019, allocations: 4 kB / 0.6217 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.006349, allocations: 247.7 kB / 0.6219 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/0.006712, allocations: 219.6 kB / 0.6222 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.006795, allocations: 28 kB / 0.6222 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.007031, allocations: 99.78 kB / 0.6223 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.007423, allocations: 271.5 kB / 0.6225 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.0076, allocations: 115.7 kB / 0.6226 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.008252, allocations: 0.5221 MB / 0.6232 GB, free: 32 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.008256, allocations: 0 / 0.6232 GB, free: 32 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.008257, allocations: 0 / 0.6232 GB, free: 32 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.008264, allocations: 0 / 0.6232 GB, free: 32 kB / 0.5294 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.001233/0.009497, allocations: 0.5708 MB / 0.6237 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.009542, allocations: 12.03 kB / 0.6237 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.009668, allocations: 28.8 kB / 0.6238 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.01025, allocations: 329.7 kB / 0.6241 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.01027, allocations: 16.38 kB / 0.6241 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.675e-05/0.01034, allocations: 20.38 kB / 0.6241 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.01068, allocations: 184.7 kB / 0.6243 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01069, allocations: 4.172 kB / 0.6243 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.01071, allocations: 4.375 kB / 0.6243 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01072, allocations: 4.375 kB / 0.6243 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.01091, allocations: 111.8 kB / 0.6244 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.01131, allocations: 270.9 kB / 0.6247 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.01188, allocations: 319.6 kB / 0.625 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.01208, allocations: 126.6 kB / 0.6251 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.01209, allocations: 0 / 0.6251 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005118/0.0126, allocations: 285.5 kB / 0.6254 GB, free: 13.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 3.907e-06/0.0126, allocations: 4 kB / 0.6254 GB, free: 13.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0009059/0.01351, allocations: 0.4933 MB / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.01359, allocations: 114.8 kB / 0.6259 GB, free: 12.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.01407, allocations: 400.5 kB / 0.6263 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.01413, allocations: 41.7 kB / 0.6264 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.01429, allocations: 148.8 kB / 0.6265 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.01434, allocations: 47.67 kB / 0.6266 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.01453, allocations: 117.5 kB / 0.6267 GB, free: 12.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.01471, allocations: 350.8 kB / 0.627 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.01484, allocations: 79.95 kB / 0.6271 GB, free: 11.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.01595, allocations: 1.089 MB / 0.6281 GB, free: 10.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.01628, allocations: 265.6 kB / 0.6284 GB, free: 10.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01628, allocations: 0 / 0.6284 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005332/0.01682, allocations: 325.1 kB / 0.6287 GB, free: 9.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.01684, allocations: 8 kB / 0.6287 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.01685, allocations: 4.406 kB / 0.6287 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01687, allocations: 8 kB / 0.6287 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.01706, allocations: 27.92 kB / 0.6288 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.01707, allocations: 15.88 kB / 0.6288 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.0178, allocations: 71.53 kB / 0.6288 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.01783, allocations: 15.98 kB / 0.6289 GB, free: 9.633 MB / 0.545 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.0002587/0.01809, allocations: 197.5 kB / 0.629 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.01814, allocations: 31.8 kB / 0.6291 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.01821, allocations: 37.95 kB / 0.6291 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.01821, allocations: 0 / 0.6291 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.01822, allocations: 4 kB / 0.6291 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.01823, allocations: 3.938 kB / 0.6291 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.01851, allocations: 197.2 kB / 0.6293 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01851, allocations: 0 / 0.6293 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.01853, allocations: 4 kB / 0.6293 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01853, allocations: 0 / 0.6293 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.01855, allocations: 15.92 kB / 0.6293 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.01856, allocations: 8 kB / 0.6293 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.01856, allocations: 3.938 kB / 0.6293 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.01921, allocations: 428.5 kB / 0.6297 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.01926, allocations: 23.84 kB / 0.6298 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.0193, allocations: 8 kB / 0.6298 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.01938, allocations: 0 / 0.6298 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.01946, allocations: 23.91 kB / 0.6298 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.01949, allocations: 16 kB / 0.6298 GB, free: 8.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003636/0.01986, allocations: 287 kB / 0.6301 GB, free: 8.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01986, allocations: 0 / 0.6301 GB, free: 8.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004408/0.0203, allocations: 87.86 kB / 0.6302 GB, free: 8.23 MB / 0.545 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.000278/0.02057, allocations: 143 kB / 0.6303 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.02112, allocations: 259.6 kB / 0.6306 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02112, allocations: 0 / 0.6306 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.02131, allocations: 120.7 kB / 0.6307 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.02162, allocations: 30.53 kB / 0.6307 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.02275, allocations: 0.5672 MB / 0.6313 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.02294, allocations: 153.2 kB / 0.6314 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.02307, allocations: 50.19 kB / 0.6314 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.02315, allocations: 28.48 kB / 0.6315 GB, free: 6.832 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.02315, allocations: 0 / 0.6315 GB, free: 6.832 MB / 0.545 GB Notification: Performance of Templates: time 0.01344/0.03659, allocations: 5.428 MB / 0.6368 GB, free: 1.512 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.097370026633143] Failed to read output from testmodel.py, exit status != 0: 0.045468296855688095 0.060404428 0.049079045 Calling exit ...