Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04145/0.04145, allocations: 9.133 MB / 28.99 MB, free: 0.832 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008849/0.0008849, allocations: 91.16 kB / 35.33 MB, free: 1.09 MB / 24.77 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.001062/0.001062, allocations: 163.9 kB / 38.73 MB, free: 2.527 MB / 24.77 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.035/1.035, allocations: 177.2 MB / 219.2 MB, free: 10.13 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006026/0.006026, allocations: 0.8185 MB / 276.5 MB, free: 0.7578 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.687/1.687, allocations: 274.9 MB / 0.5419 GB, free: 0.6562 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter") translateModel(AixLib.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.428e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.HeatMeter): time 0.008951/0.008976, allocations: 8.701 MB / 0.6464 GB, free: 5.383 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004801/0.01378, allocations: 3.358 MB / 0.6497 GB, free: 2.012 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006492/0.01443, allocations: 35.69 kB / 0.6497 GB, free: 1.977 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.01494, allocations: 178.6 kB / 0.6499 GB, free: 1.801 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.0162, allocations: 0.668 MB / 0.6505 GB, free: 1.129 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.01732, allocations: 0.6507 MB / 0.6511 GB, free: 488 kB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.001462/0.01879, allocations: 1.624 MB / 0.6527 GB, free: 14.84 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007668/0.01955, allocations: 414.9 kB / 0.6531 GB, free: 14.43 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.02064, allocations: 0.7636 MB / 0.6539 GB, free: 13.67 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.02105, allocations: 378.8 kB / 0.6542 GB, free: 13.3 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.02111, allocations: 44 kB / 0.6543 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.02157, allocations: 267.4 kB / 0.6545 GB, free: 12.99 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.02169, allocations: 151.4 kB / 0.6547 GB, free: 12.84 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.02186, allocations: 219.5 kB / 0.6549 GB, free: 12.63 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.02261, allocations: 0.6152 MB / 0.6555 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02262, allocations: 0 / 0.6555 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.252e-06/0.02262, allocations: 3.938 kB / 0.6555 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.02262, allocations: 0 / 0.6555 GB, free: 12.01 MB / 0.6199 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.0008214/0.02345, allocations: 0.7635 MB / 0.6562 GB, free: 11.22 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.02348, allocations: 15.98 kB / 0.6562 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.02366, allocations: 84.8 kB / 0.6563 GB, free: 11.12 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.02417, allocations: 423.1 kB / 0.6567 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.02419, allocations: 29.38 kB / 0.6568 GB, free: 10.65 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.02424, allocations: 44.31 kB / 0.6568 GB, free: 10.61 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.02458, allocations: 388.5 kB / 0.6572 GB, free: 10.19 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.0246, allocations: 4 kB / 0.6572 GB, free: 10.18 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.02462, allocations: 20 kB / 0.6572 GB, free: 10.16 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.02465, allocations: 8 kB / 0.6572 GB, free: 10.16 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.02481, allocations: 121.7 kB / 0.6573 GB, free: 10.03 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.02607, allocations: 1.122 MB / 0.6584 GB, free: 8.879 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.02632, allocations: 186.8 kB / 0.6586 GB, free: 8.684 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.02638, allocations: 51.66 kB / 0.6586 GB, free: 8.629 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.02656, allocations: 75.92 kB / 0.6587 GB, free: 8.555 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.02658, allocations: 38.5 kB / 0.6588 GB, free: 8.508 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.02658, allocations: 0 / 0.6588 GB, free: 8.508 MB / 0.6199 GB Notification: Performance of matching and sorting (n=26): time 0.0002553/0.02684, allocations: 161.5 kB / 0.6589 GB, free: 8.344 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.02687, allocations: 55.41 kB / 0.659 GB, free: 8.277 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.0271, allocations: 360.9 kB / 0.6593 GB, free: 7.914 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.02712, allocations: 29.7 kB / 0.6593 GB, free: 7.879 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.02723, allocations: 241.3 kB / 0.6596 GB, free: 7.637 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.02728, allocations: 95.16 kB / 0.6597 GB, free: 7.543 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.02735, allocations: 65.98 kB / 0.6597 GB, free: 7.473 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.02746, allocations: 362.6 kB / 0.6601 GB, free: 7.109 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.02751, allocations: 43.45 kB / 0.6601 GB, free: 7.066 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.02762, allocations: 173.2 kB / 0.6603 GB, free: 6.855 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.02776, allocations: 160.2 kB / 0.6604 GB, free: 6.672 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02776, allocations: 0 / 0.6604 GB, free: 6.672 MB / 0.6199 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002009/0.02796, allocations: 192.2 kB / 0.6606 GB, free: 6.477 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.02798, allocations: 4 kB / 0.6606 GB, free: 6.473 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.02798, allocations: 4 kB / 0.6606 GB, free: 6.469 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.028, allocations: 4 kB / 0.6606 GB, free: 6.465 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.02815, allocations: 71.89 kB / 0.6607 GB, free: 6.395 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.02815, allocations: 4 kB / 0.6607 GB, free: 6.391 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.02826, allocations: 31.73 kB / 0.6607 GB, free: 6.359 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.02828, allocations: 12.22 kB / 0.6607 GB, free: 6.348 MB / 0.6199 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.0001002/0.02838, allocations: 140.5 kB / 0.6609 GB, free: 6.199 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.02842, allocations: 35.95 kB / 0.6609 GB, free: 6.164 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.0288, allocations: 265.1 kB / 0.6612 GB, free: 5.891 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.02881, allocations: 4 kB / 0.6612 GB, free: 5.887 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.02881, allocations: 0 / 0.6612 GB, free: 5.887 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001934/0.02901, allocations: 387 kB / 0.6615 GB, free: 5.441 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.02984, allocations: 0.7002 MB / 0.6622 GB, free: 4.691 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.02984, allocations: 0 / 0.6622 GB, free: 4.691 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.02997, allocations: 47.92 kB / 0.6623 GB, free: 4.645 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.02998, allocations: 4 kB / 0.6623 GB, free: 4.641 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.02999, allocations: 15.98 kB / 0.6623 GB, free: 4.625 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.03, allocations: 4.188 kB / 0.6623 GB, free: 4.621 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.03, allocations: 7.938 kB / 0.6623 GB, free: 4.613 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.03037, allocations: 406.9 kB / 0.6627 GB, free: 4.18 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.03066, allocations: 71.59 kB / 0.6627 GB, free: 4.109 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.03069, allocations: 8 kB / 0.6627 GB, free: 4.102 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.0308, allocations: 8 kB / 0.6628 GB, free: 4.094 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.03083, allocations: 31.89 kB / 0.6628 GB, free: 4.062 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.03085, allocations: 8.094 kB / 0.6628 GB, free: 4.055 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0001217/0.03097, allocations: 159.5 kB / 0.6629 GB, free: 3.898 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5.1e-08/0.03097, allocations: 0 / 0.6629 GB, free: 3.898 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.000379/0.03135, allocations: 183.6 kB / 0.6631 GB, free: 3.719 MB / 0.6199 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.0003021/0.03165, allocations: 184 kB / 0.6633 GB, free: 3.531 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.03186, allocations: 157 kB / 0.6634 GB, free: 3.375 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.03187, allocations: 4 kB / 0.6635 GB, free: 3.371 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.03195, allocations: 88.55 kB / 0.6635 GB, free: 3.281 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.03256, allocations: 269.3 kB / 0.6638 GB, free: 3.023 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.0339, allocations: 0.8765 MB / 0.6646 GB, free: 2.098 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.03399, allocations: 121.8 kB / 0.6648 GB, free: 1.961 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.03422, allocations: 88.27 kB / 0.6648 GB, free: 1.871 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.03458, allocations: 239.1 kB / 0.6651 GB, free: 1.637 MB / 0.6199 GB Notification: Performance of SimCode: time 1.222e-06/0.03458, allocations: 4 kB / 0.6651 GB, free: 1.633 MB / 0.6199 GB Notification: Performance of Templates: time 0.01366/0.04824, allocations: 10.83 MB / 0.6757 GB, free: 6.777 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.199611673131585]