Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001656/0.001656, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 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.001482/0.001482, allocations: 216.9 kB / 22.25 MB, free: 5.258 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002614/0.002614, allocations: 294.4 kB / 312.7 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 105.8 kB / 0.74 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1713, allocations: 95.38 MB / 0.8331 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02697/0.1983, allocations: 21.59 MB / 0.8542 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008929/0.2072, allocations: 4.731 MB / 0.8588 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00092/0.2081, allocations: 35.69 kB / 0.8589 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009569/0.2091, allocations: 286 kB / 0.8592 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.2115, allocations: 0.8358 MB / 0.86 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.2135, allocations: 0.7664 MB / 0.8607 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.2156, allocations: 1.645 MB / 0.8623 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006043/0.2162, allocations: 406.1 kB / 0.8627 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.2176, allocations: 0.6368 MB / 0.8633 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.2183, allocations: 453.9 kB / 0.8638 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2184, allocations: 48 kB / 0.8638 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.2194, allocations: 419.1 kB / 0.8642 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.2196, allocations: 147.4 kB / 0.8643 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.2199, allocations: 258.9 kB / 0.8646 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2212, allocations: 0.9303 MB / 0.8655 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2212, allocations: 0 / 0.8655 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2212, allocations: 0 / 0.8655 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.2212, allocations: 0 / 0.8655 GB, free: 6.582 MB / 0.6075 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.001425/0.2226, allocations: 0.8237 MB / 0.8663 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2227, allocations: 13.92 kB / 0.8663 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.2229, allocations: 80.52 kB / 0.8664 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.224, allocations: 0.5036 MB / 0.8669 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.224, allocations: 32.94 kB / 0.8669 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.2241, allocations: 43.95 kB / 0.867 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.2248, allocations: 0.5095 MB / 0.8675 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.2249, allocations: 0 / 0.8675 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.225, allocations: 20 kB / 0.8675 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.225, allocations: 8 kB / 0.8675 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.2255, allocations: 299.8 kB / 0.8678 GB, free: 4.156 MB / 0.6075 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.002581/0.2281, allocations: 1.451 MB / 0.8692 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.2286, allocations: 242.8 kB / 0.8694 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.2288, allocations: 112.7 kB / 0.8695 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/0.2293, allocations: 107.9 kB / 0.8696 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.2294, allocations: 38.5 kB / 0.8697 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.2294, allocations: 0 / 0.8697 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.000732/0.2301, allocations: 364.5 kB / 0.87 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.2301, allocations: 55.41 kB / 0.8701 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.2307, allocations: 405.8 kB / 0.8705 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.2307, allocations: 33.7 kB / 0.8705 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.2309, allocations: 272.5 kB / 0.8708 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.093e-05/0.231, allocations: 99.11 kB / 0.8708 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.2311, allocations: 70.02 kB / 0.8709 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2313, allocations: 350.8 kB / 0.8712 GB, free: 496 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2315, allocations: 104.6 kB / 0.8713 GB, free: 392 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.2318, allocations: 257.7 kB / 0.8716 GB, free: 92 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.2322, allocations: 279.5 kB / 0.8719 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2322, allocations: 0 / 0.8719 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005813/0.2328, allocations: 365.1 kB / 0.8722 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2328, allocations: 4 kB / 0.8722 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2328, allocations: 4 kB / 0.8722 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.2329, allocations: 4 kB / 0.8722 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.2331, allocations: 71.91 kB / 0.8723 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.2332, allocations: 7.938 kB / 0.8723 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.2334, allocations: 35.7 kB / 0.8723 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.2334, allocations: 20.22 kB / 0.8723 GB, free: 15.29 MB / 0.6231 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.0002176/0.2336, allocations: 173.8 kB / 0.8725 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.2337, allocations: 47.7 kB / 0.8726 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008689/0.2346, allocations: 476.7 kB / 0.873 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.2346, allocations: 7.984 kB / 0.873 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.2346, allocations: 3.938 kB / 0.873 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006583/0.2353, allocations: 0.5769 MB / 0.8736 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.2371, allocations: 0.9438 MB / 0.8745 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2371, allocations: 8.062 kB / 0.8745 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2373, allocations: 59.91 kB / 0.8746 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2373, allocations: 4 kB / 0.8746 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.2373, allocations: 8 kB / 0.8746 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.2373, allocations: 4 kB / 0.8746 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.2374, allocations: 3.938 kB / 0.8746 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009785/0.2383, allocations: 0.673 MB / 0.8753 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.2385, allocations: 91.58 kB / 0.8753 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.2386, allocations: 8 kB / 0.8753 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2388, allocations: 8 kB / 0.8754 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.2389, allocations: 31.89 kB / 0.8754 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.2389, allocations: 19.98 kB / 0.8754 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003358/0.2392, allocations: 279.1 kB / 0.8757 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2392, allocations: 0 / 0.8757 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005977/0.2398, allocations: 207.5 kB / 0.8759 GB, free: 11.51 MB / 0.6231 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.0005057/0.2403, allocations: 286.7 kB / 0.8761 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.2408, allocations: 287.9 kB / 0.8764 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2408, allocations: 3.938 kB / 0.8764 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.2411, allocations: 151.8 kB / 0.8766 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.2425, allocations: 268.4 kB / 0.8768 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.2448, allocations: 1.059 MB / 0.8779 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.2451, allocations: 270.2 kB / 0.8781 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.2456, allocations: 108.2 kB / 0.8782 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.2457, allocations: 51.42 kB / 0.8783 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.2457, allocations: 0 / 0.8783 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.02711/0.2728, allocations: 11.57 MB / 0.8896 GB, free: 13.66 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.654543723911047] Failed to read output from testmodel.py, exit status != 0: 0.2816495765000582 0.3004679 0.07613896 Calling exit ...