Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001505/0.001505, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 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.001635/0.001635, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-545:108: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-545:116: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.277/1.277, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.495e-06/7.495e-06, allocations: 4.656 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.758e-05, allocations: 4.938 kB / 0.5197 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.05428/0.05433, allocations: 21.45 MB / 0.5406 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.07124, allocations: 4.765 MB / 0.5453 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.07318, allocations: 35.69 kB / 0.5453 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.07512, allocations: 285.9 kB / 0.5456 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.07995, allocations: 0.8567 MB / 0.5464 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.08429, allocations: 0.8287 MB / 0.5472 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004394/0.08868, allocations: 1.644 MB / 0.5488 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.09012, allocations: 411.7 kB / 0.5492 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004528/0.09465, allocations: 0.943 MB / 0.5501 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.09614, allocations: 402.7 kB / 0.5505 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.09639, allocations: 44 kB / 0.5505 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.09878, allocations: 418.9 kB / 0.5509 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.09924, allocations: 156.5 kB / 0.5511 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008394/0.1001, allocations: 215.5 kB / 0.5513 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.1033, allocations: 0.9541 MB / 0.5522 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1033, allocations: 2.188 kB / 0.5522 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1033, allocations: 0 / 0.5522 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.528e-05/0.1034, allocations: 0 / 0.5522 GB, free: 1.172 MB / 0.5105 GB 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.002718/0.1061, allocations: 0.8251 MB / 0.553 GB, free: 324 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.1061, allocations: 8.031 kB / 0.553 GB, free: 316 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005383/0.1067, allocations: 104.5 kB / 0.5531 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.1085, allocations: 0.5413 MB / 0.5537 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.1086, allocations: 33.38 kB / 0.5537 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.1087, allocations: 44.36 kB / 0.5538 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.1101, allocations: 0.5101 MB / 0.5543 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.1101, allocations: 0 / 0.5543 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.1101, allocations: 16.5 kB / 0.5543 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.1102, allocations: 13.28 kB / 0.5543 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.111, allocations: 303.8 kB / 0.5546 GB, free: 14.71 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.115, allocations: 1.45 MB / 0.556 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.1158, allocations: 247.2 kB / 0.5562 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.1161, allocations: 121.7 kB / 0.5563 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/0.1168, allocations: 101.6 kB / 0.5564 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.1169, allocations: 38.56 kB / 0.5565 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.1169, allocations: 0.8438 kB / 0.5565 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001193/0.1181, allocations: 375.3 kB / 0.5568 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.1181, allocations: 59.34 kB / 0.5569 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.1189, allocations: 403 kB / 0.5573 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.119, allocations: 33.7 kB / 0.5573 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.1194, allocations: 270.3 kB / 0.5576 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.1195, allocations: 99.23 kB / 0.5577 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1197, allocations: 73.97 kB / 0.5577 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003317/0.12, allocations: 354.7 kB / 0.5581 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1203, allocations: 96.59 kB / 0.5582 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.1208, allocations: 246.7 kB / 0.5584 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.1215, allocations: 272.7 kB / 0.5587 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1215, allocations: 1.5 kB / 0.5587 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001001/0.1225, allocations: 374.8 kB / 0.559 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.1225, allocations: 8.094 kB / 0.559 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.1225, allocations: 4 kB / 0.559 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.1225, allocations: 0 / 0.559 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.123, allocations: 79.89 kB / 0.5591 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.123, allocations: 0 / 0.5591 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.1234, allocations: 32.91 kB / 0.5591 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.1235, allocations: 15.98 kB / 0.5591 GB, free: 9.848 MB / 0.5261 GB 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 0.0003658/0.1238, allocations: 187.2 kB / 0.5593 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.124, allocations: 51.72 kB / 0.5594 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.1253, allocations: 480.5 kB / 0.5598 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/0.1253, allocations: 8 kB / 0.5598 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1253, allocations: 0 / 0.5598 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.1264, allocations: 0.5729 MB / 0.5604 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.1292, allocations: 0.9584 MB / 0.5613 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.1293, allocations: 4 kB / 0.5613 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.1296, allocations: 53.62 kB / 0.5614 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1296, allocations: 0 / 0.5614 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.1296, allocations: 23.92 kB / 0.5614 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1296, allocations: 0 / 0.5614 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1296, allocations: 4 kB / 0.5614 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.1311, allocations: 0.6771 MB / 0.5621 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.1314, allocations: 87.64 kB / 0.5622 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.1315, allocations: 16.8 kB / 0.5622 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.1318, allocations: 8 kB / 0.5622 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.1319, allocations: 37.14 kB / 0.5622 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.132, allocations: 15.98 kB / 0.5622 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005315/0.1325, allocations: 279.2 kB / 0.5625 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1325, allocations: 0 / 0.5625 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001034/0.1335, allocations: 211.9 kB / 0.5627 GB, free: 6.039 MB / 0.5261 GB 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0007465/0.1343, allocations: 276.8 kB / 0.563 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007947/0.1351, allocations: 278.2 kB / 0.5632 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1351, allocations: 2.969 kB / 0.5632 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.1355, allocations: 159.7 kB / 0.5634 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.1374, allocations: 272.1 kB / 0.5636 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.14, allocations: 0.9856 MB / 0.5646 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.1404, allocations: 270.2 kB / 0.5649 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005151/0.141, allocations: 108.2 kB / 0.565 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.1411, allocations: 48.48 kB / 0.565 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.1411, allocations: 0 / 0.565 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of Templates: time 0.02457/0.1657, allocations: 10.8 MB / 0.5756 GB, free: 9.098 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.646192512940615]