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.04007/0.04007, allocations: 9.13 MB / 28.99 MB, free: 0.8125 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.0008172/0.0008172, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.0009097/0.0009097, allocations: 166.7 kB / 38.73 MB, free: 2.508 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 0.982/0.982, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004184/0.004184, allocations: 0.8345 MB / 276.5 MB, free: 0.7422 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.746/1.746, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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 2.284e-06/2.284e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.038e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.HeatMeter): time 0.01275/0.01278, allocations: 8.749 MB / 0.6464 GB, free: 5.289 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.007272/0.02005, allocations: 3.362 MB / 0.6497 GB, free: 1.914 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.02114, allocations: 35.69 kB / 0.6498 GB, free: 1.879 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.02174, allocations: 182.6 kB / 0.6499 GB, free: 1.699 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.02322, allocations: 0.668 MB / 0.6506 GB, free: 1.027 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.02452, allocations: 0.6352 MB / 0.6512 GB, free: 400 kB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.02627, allocations: 1.628 MB / 0.6528 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.02716, allocations: 430.2 kB / 0.6532 GB, free: 14.33 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.02819, allocations: 0.7557 MB / 0.654 GB, free: 13.57 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.02862, allocations: 378.8 kB / 0.6543 GB, free: 13.2 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.02868, allocations: 48 kB / 0.6544 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.02922, allocations: 271.3 kB / 0.6546 GB, free: 12.89 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.02934, allocations: 151.4 kB / 0.6548 GB, free: 12.74 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.02951, allocations: 219.5 kB / 0.655 GB, free: 12.53 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.03029, allocations: 0.619 MB / 0.6556 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.03029, allocations: 0 / 0.6556 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.723e-06/0.03029, allocations: 0 / 0.6556 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.0303, allocations: 0 / 0.6556 GB, free: 11.91 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.0008246/0.03112, allocations: 0.7713 MB / 0.6563 GB, free: 11.11 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.03116, allocations: 15.98 kB / 0.6563 GB, free: 11.09 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.03139, allocations: 88.8 kB / 0.6564 GB, free: 11.01 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.03197, allocations: 423 kB / 0.6568 GB, free: 10.56 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.032, allocations: 29.38 kB / 0.6569 GB, free: 10.54 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.03206, allocations: 40.38 kB / 0.6569 GB, free: 10.5 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.03247, allocations: 396.5 kB / 0.6573 GB, free: 10.07 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.03249, allocations: 0 / 0.6573 GB, free: 10.07 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.03251, allocations: 16 kB / 0.6573 GB, free: 10.05 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.03255, allocations: 8 kB / 0.6573 GB, free: 10.05 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.03271, allocations: 129.7 kB / 0.6574 GB, free: 9.914 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.03401, allocations: 1.118 MB / 0.6585 GB, free: 8.766 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.03429, allocations: 182.8 kB / 0.6587 GB, free: 8.574 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.03435, allocations: 47.67 kB / 0.6587 GB, free: 8.523 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.03454, allocations: 71.92 kB / 0.6588 GB, free: 8.453 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.03457, allocations: 42.5 kB / 0.6588 GB, free: 8.402 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=26): time 4.138e-06/0.03457, allocations: 3.984 kB / 0.6588 GB, free: 8.398 MB / 0.6199 GB Notification: Performance of matching and sorting (n=26): time 0.0002577/0.03483, allocations: 161.5 kB / 0.659 GB, free: 8.234 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.03486, allocations: 55.39 kB / 0.6591 GB, free: 8.168 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.03513, allocations: 360.9 kB / 0.6594 GB, free: 7.805 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.03516, allocations: 33.7 kB / 0.6594 GB, free: 7.766 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.03529, allocations: 229.4 kB / 0.6596 GB, free: 7.535 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.03535, allocations: 99.16 kB / 0.6597 GB, free: 7.438 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.03544, allocations: 69.98 kB / 0.6598 GB, free: 7.363 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.03556, allocations: 354.7 kB / 0.6601 GB, free: 7.008 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.03562, allocations: 31.47 kB / 0.6602 GB, free: 6.977 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.03575, allocations: 185.2 kB / 0.6604 GB, free: 6.754 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.03593, allocations: 160.2 kB / 0.6605 GB, free: 6.57 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.03594, allocations: 4 kB / 0.6605 GB, free: 6.566 MB / 0.6199 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002491/0.03618, allocations: 192.4 kB / 0.6607 GB, free: 6.371 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.03621, allocations: 8 kB / 0.6607 GB, free: 6.363 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.03622, allocations: 0 / 0.6607 GB, free: 6.363 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.03624, allocations: 4 kB / 0.6607 GB, free: 6.359 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.03643, allocations: 79.89 kB / 0.6608 GB, free: 6.281 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.03644, allocations: 4 kB / 0.6608 GB, free: 6.277 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.03655, allocations: 31.73 kB / 0.6608 GB, free: 6.246 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.03657, allocations: 15.98 kB / 0.6608 GB, free: 6.23 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.0001057/0.03668, allocations: 132.5 kB / 0.661 GB, free: 6.09 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.03673, allocations: 39.97 kB / 0.661 GB, free: 6.051 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.03709, allocations: 269.1 kB / 0.6613 GB, free: 5.773 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.0371, allocations: 4 kB / 0.6613 GB, free: 5.77 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.0371, allocations: 0 / 0.6613 GB, free: 5.77 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000211/0.03731, allocations: 383 kB / 0.6616 GB, free: 5.328 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.03812, allocations: 0.6963 MB / 0.6623 GB, free: 4.582 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.03813, allocations: 4 kB / 0.6623 GB, free: 4.578 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.03828, allocations: 55.91 kB / 0.6624 GB, free: 4.523 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.03829, allocations: 0 / 0.6624 GB, free: 4.523 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.0383, allocations: 11.94 kB / 0.6624 GB, free: 4.512 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.03831, allocations: 7.984 kB / 0.6624 GB, free: 4.504 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.03831, allocations: 12.06 kB / 0.6624 GB, free: 4.492 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.03865, allocations: 407 kB / 0.6628 GB, free: 4.059 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.03874, allocations: 67.62 kB / 0.6628 GB, free: 3.992 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.03877, allocations: 8 kB / 0.6629 GB, free: 3.984 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.03889, allocations: 11.98 kB / 0.6629 GB, free: 3.973 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.03892, allocations: 27.84 kB / 0.6629 GB, free: 3.945 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.03895, allocations: 11.98 kB / 0.6629 GB, free: 3.934 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0001244/0.03907, allocations: 151.5 kB / 0.663 GB, free: 3.785 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.03907, allocations: 0 / 0.663 GB, free: 3.785 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.000408/0.03948, allocations: 175.6 kB / 0.6632 GB, free: 3.613 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.0002869/0.03977, allocations: 188.1 kB / 0.6634 GB, free: 3.422 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.03998, allocations: 153 kB / 0.6635 GB, free: 3.27 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.03998, allocations: 7.938 kB / 0.6635 GB, free: 3.262 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.808e-05/0.04007, allocations: 89.64 kB / 0.6636 GB, free: 3.172 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.04069, allocations: 269.9 kB / 0.6639 GB, free: 2.91 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.04192, allocations: 0.8766 MB / 0.6647 GB, free: 1.984 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.283e-05/0.042, allocations: 125.8 kB / 0.6649 GB, free: 1.844 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.04222, allocations: 80.28 kB / 0.6649 GB, free: 1.762 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.04259, allocations: 239 kB / 0.6652 GB, free: 1.527 MB / 0.6199 GB Notification: Performance of SimCode: time 1.373e-06/0.04259, allocations: 0 / 0.6652 GB, free: 1.527 MB / 0.6199 GB Notification: Performance of Templates: time 0.0133/0.05589, allocations: 10.84 MB / 0.6758 GB, free: 6.668 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.160048066172749]