Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.0007099/0.0007099, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009508/0.001661, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006794/0.0006794, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009245/0.001604, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.096/1.096, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09653/1.192, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7662/0.7662, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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 NFInstanceAPI.mkTop(): time 0.2747/1.041, allocations: 49.13 MB / 448.6 MB, free: 5.938 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0.875 kB / 450 MB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.132e-05, allocations: 4.141 kB / 450 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.007305/0.007316, allocations: 8.782 MB / 458.8 MB, free: 11.86 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004262/0.01158, allocations: 3.375 MB / 462.1 MB, free: 8.508 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.01197, allocations: 39.69 kB / 462.2 MB, free: 8.469 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.01231, allocations: 191.3 kB / 462.4 MB, free: 8.281 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009277/0.01324, allocations: 0.6544 MB / 463 MB, free: 7.629 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.01411, allocations: 0.6599 MB / 463.7 MB, free: 6.977 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.01545, allocations: 1.617 MB / 465.3 MB, free: 5.359 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.0161, allocations: 432 kB / 465.7 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.01685, allocations: 0.8094 MB / 466.5 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.0172, allocations: 382.8 kB / 466.9 MB, free: 3.766 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.01726, allocations: 44 kB / 466.9 MB, free: 3.723 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.01761, allocations: 269.8 kB / 467.2 MB, free: 3.461 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.0177, allocations: 115.5 kB / 467.3 MB, free: 3.348 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01784, allocations: 175.7 kB / 467.5 MB, free: 3.176 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.0184, allocations: 0.5684 MB / 468.1 MB, free: 2.605 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.01841, allocations: 0 / 468.1 MB, free: 2.605 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01842, allocations: 0 / 468.1 MB, free: 2.605 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.01842, allocations: 1.031 kB / 468.1 MB, free: 2.605 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0008154/0.01924, allocations: 0.9185 MB / 469 MB, free: 1.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.01927, allocations: 13.94 kB / 469 MB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.01945, allocations: 159.7 kB / 469.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.01989, allocations: 421.2 kB / 469.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.01991, allocations: 29.38 kB / 469.6 MB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.01996, allocations: 44.36 kB / 469.6 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.02026, allocations: 396.5 kB / 470 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.02028, allocations: 4 kB / 470 MB, free: 0.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.0203, allocations: 16.62 kB / 470 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.02032, allocations: 8 kB / 470 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.02046, allocations: 120.2 kB / 470.2 MB, free: 416 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.02157, allocations: 1.119 MB / 471.3 MB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.02179, allocations: 185.2 kB / 471.5 MB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.02184, allocations: 47.67 kB / 471.5 MB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.022, allocations: 77.91 kB / 471.6 MB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.02202, allocations: 35.78 kB / 471.6 MB, free: 14.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 1.163e-06/0.02202, allocations: 3.938 kB / 471.6 MB, free: 14.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002263/0.02225, allocations: 161.5 kB / 471.8 MB, free: 14.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.02228, allocations: 56.53 kB / 471.8 MB, free: 14.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.02255, allocations: 352.9 kB / 472.2 MB, free: 14.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.02257, allocations: 33.7 kB / 472.2 MB, free: 14.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.02267, allocations: 238.2 kB / 472.5 MB, free: 14.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.02272, allocations: 95.16 kB / 472.5 MB, free: 13.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.02278, allocations: 70.98 kB / 472.6 MB, free: 13.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.02289, allocations: 358.6 kB / 473 MB, free: 13.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.02293, allocations: 39.45 kB / 473 MB, free: 13.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.609e-05/0.02303, allocations: 174.5 kB / 473.2 MB, free: 13.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.02317, allocations: 177.3 kB / 473.3 MB, free: 13.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.02318, allocations: 0 / 473.3 MB, free: 13.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001853/0.02336, allocations: 185.9 kB / 473.5 MB, free: 12.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.02337, allocations: 6.094 kB / 473.5 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.02338, allocations: 4 kB / 473.5 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.02339, allocations: 4.656 kB / 473.5 MB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.02361, allocations: 87.81 kB / 473.6 MB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.02362, allocations: 4.781 kB / 473.6 MB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.02372, allocations: 31.78 kB / 473.7 MB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.02375, allocations: 8.594 kB / 473.7 MB, free: 12.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 9.67e-05/0.02384, allocations: 141.4 kB / 473.8 MB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.02388, allocations: 27.97 kB / 473.8 MB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.02419, allocations: 267.5 kB / 474.1 MB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.0242, allocations: 4.891 kB / 474.1 MB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.0242, allocations: 0 / 474.1 MB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000178/0.02438, allocations: 388.3 kB / 474.5 MB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.02507, allocations: 0.6958 MB / 475.2 MB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.02508, allocations: 5.438 kB / 475.2 MB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.02522, allocations: 55.91 kB / 475.2 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.0253, allocations: 71.55 kB / 475.3 MB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.0253, allocations: 5 kB / 475.3 MB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.02532, allocations: 11.98 kB / 475.3 MB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.963e-05/0.02541, allocations: 7.938 kB / 475.3 MB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02541, allocations: 0.9375 kB / 475.3 MB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.02571, allocations: 419.2 kB / 475.7 MB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.02574, allocations: 11.94 kB / 475.8 MB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.02585, allocations: 11.98 kB / 475.8 MB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.02588, allocations: 25.38 kB / 475.8 MB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.0259, allocations: 11.98 kB / 475.8 MB, free: 10.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.02601, allocations: 159.5 kB / 476 MB, free: 10.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02601, allocations: 0 / 476 MB, free: 10.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.02631, allocations: 180.3 kB / 476.1 MB, free: 10.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * 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.0002327/0.02654, allocations: 180.3 kB / 476.3 MB, free: 9.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.02673, allocations: 166.2 kB / 476.5 MB, free: 9.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.02673, allocations: 4.75 kB / 476.5 MB, free: 9.766 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.02686, allocations: 113.3 kB / 476.6 MB, free: 9.652 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.0278, allocations: 1.581 MB / 478.2 MB, free: 7.805 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.03163, allocations: 0.8625 MB / 479 MB, free: 6.895 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.03171, allocations: 129.7 kB / 479.2 MB, free: 6.746 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.03189, allocations: 88.84 kB / 479.2 MB, free: 6.668 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.03222, allocations: 236.7 kB / 479.5 MB, free: 6.438 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03222, allocations: 0 / 479.5 MB, free: 6.438 MB / 458.7 MB Notification: Performance of Templates: time 0.01463/0.04685, allocations: 11.33 MB / 490.8 MB, free: 11.69 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.965608718805015]