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.001328/0.001328, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001488/0.001488, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.005/1.005, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.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-535:34: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-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 master/package.mo): time 0.7993/0.7993, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.383e-06/1.383e-06, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.601e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.007199/0.007215, allocations: 8.65 MB / 0.5296 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.01157, allocations: 3.285 MB / 0.5328 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/0.01207, allocations: 43.62 kB / 0.5328 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.01252, allocations: 174.6 kB / 0.533 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.01366, allocations: 0.6626 MB / 0.5337 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01475, allocations: 0.6665 MB / 0.5343 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.01635, allocations: 1.625 MB / 0.5359 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004791/0.01683, allocations: 416.7 kB / 0.5363 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009585/0.01779, allocations: 0.7623 MB / 0.537 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.01815, allocations: 407.9 kB / 0.5374 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.01821, allocations: 44 kB / 0.5375 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.01859, allocations: 264.6 kB / 0.5377 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.01869, allocations: 151.4 kB / 0.5379 GB, free: 412 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.01884, allocations: 215.5 kB / 0.5381 GB, free: 196 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.01945, allocations: 0.6238 MB / 0.5387 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01945, allocations: 0 / 0.5387 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01946, allocations: 0 / 0.5387 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.01946, allocations: 0.7188 kB / 0.5387 GB, free: 15.57 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.0008156/0.02028, allocations: 0.9114 MB / 0.5396 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.02031, allocations: 8.031 kB / 0.5396 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.02047, allocations: 104.4 kB / 0.5397 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.02095, allocations: 492 kB / 0.5401 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.02097, allocations: 29.38 kB / 0.5402 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.02102, allocations: 40.38 kB / 0.5402 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.02134, allocations: 399.8 kB / 0.5406 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.02135, allocations: 0 / 0.5406 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.02138, allocations: 12 kB / 0.5406 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.0214, allocations: 16 kB / 0.5406 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.02163, allocations: 130.8 kB / 0.5407 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.02291, allocations: 1.521 MB / 0.5422 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.02314, allocations: 154.8 kB / 0.5424 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.0232, allocations: 56.2 kB / 0.5424 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.02351, allocations: 85.69 kB / 0.5425 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.02354, allocations: 37.39 kB / 0.5425 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.02354, allocations: 0.625 kB / 0.5425 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0002933/0.02383, allocations: 219.2 kB / 0.5428 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.02386, allocations: 55.41 kB / 0.5428 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.0241, allocations: 422.9 kB / 0.5432 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.02412, allocations: 30.64 kB / 0.5432 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.02426, allocations: 319.2 kB / 0.5435 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.02431, allocations: 103.1 kB / 0.5436 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.02439, allocations: 80.84 kB / 0.5437 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.0245, allocations: 0.5273 MB / 0.5442 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.02455, allocations: 36.62 kB / 0.5443 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.02466, allocations: 206.2 kB / 0.5445 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.0248, allocations: 178.3 kB / 0.5446 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.02481, allocations: 0 / 0.5446 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002386/0.02504, allocations: 247.8 kB / 0.5449 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.02506, allocations: 9.406 kB / 0.5449 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.02506, allocations: 0 / 0.5449 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.02507, allocations: 4 kB / 0.5449 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.02522, allocations: 73.5 kB / 0.545 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.02522, allocations: 4 kB / 0.545 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.02533, allocations: 31.77 kB / 0.545 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.02534, allocations: 12 kB / 0.545 GB, free: 8.777 MB / 0.5105 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.0001019/0.02545, allocations: 177.9 kB / 0.5452 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.0255, allocations: 51.72 kB / 0.5452 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.02585, allocations: 310.5 kB / 0.5455 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.02586, allocations: 4.562 kB / 0.5455 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.02586, allocations: 0 / 0.5455 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005341/0.02639, allocations: 422.1 kB / 0.5459 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.02717, allocations: 0.7556 MB / 0.5467 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.02718, allocations: 8 kB / 0.5467 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.0273, allocations: 55.91 kB / 0.5467 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.0273, allocations: 0 / 0.5467 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.02732, allocations: 8 kB / 0.5467 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.02732, allocations: 4 kB / 0.5467 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.02732, allocations: 7.938 kB / 0.5467 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.02771, allocations: 470.5 kB / 0.5472 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.504e-05/0.0278, allocations: 95.52 kB / 0.5473 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.02783, allocations: 10.22 kB / 0.5473 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.02794, allocations: 11.98 kB / 0.5473 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.02797, allocations: 27.84 kB / 0.5473 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.028, allocations: 15.98 kB / 0.5473 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001434/0.02814, allocations: 263 kB / 0.5476 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02814, allocations: 0 / 0.5476 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003363/0.02848, allocations: 184.2 kB / 0.5478 GB, free: 5.766 MB / 0.5105 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 (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.0002638/0.02874, allocations: 208.7 kB / 0.548 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.02894, allocations: 168.4 kB / 0.5481 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02895, allocations: 2.062 kB / 0.5481 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.02903, allocations: 99.48 kB / 0.5482 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.02966, allocations: 258 kB / 0.5485 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.03072, allocations: 0.9222 MB / 0.5494 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.342e-05/0.03079, allocations: 134 kB / 0.5495 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.03096, allocations: 86.73 kB / 0.5496 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.0313, allocations: 278.7 kB / 0.5498 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.0313, allocations: 0 / 0.5498 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of Templates: time 0.02111/0.05241, allocations: 10.85 MB / 0.5604 GB, free: 9.094 MB / 0.5261 GB " [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.965517541859299]