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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 190.5 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002644/0.002644, allocations: 290.7 kB / 306.4 MB, free: 8.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.277/1.277, allocations: 180.9 MB / 0.5298 GB, free: 14.56 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 104.4 kB / 0.7306 GB, free: 39.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.149, allocations: 94.16 MB / 0.8225 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02781/0.1768, allocations: 23.61 MB / 0.8456 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008929/0.1857, allocations: 5.132 MB / 0.8506 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008574/0.1866, allocations: 23.88 kB / 0.8506 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008736/0.1874, allocations: 290 kB / 0.8509 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.1896, allocations: 0.8319 MB / 0.8517 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1915, allocations: 0.777 MB / 0.8525 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.1938, allocations: 1.625 MB / 0.854 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006938/0.1945, allocations: 385.6 kB / 0.8544 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.1961, allocations: 0.6397 MB / 0.855 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.1968, allocations: 477.9 kB / 0.8555 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.1969, allocations: 44 kB / 0.8555 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.198, allocations: 0.4991 MB / 0.856 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.1982, allocations: 147.4 kB / 0.8562 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.1985, allocations: 306.5 kB / 0.8564 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.2, allocations: 0.9265 MB / 0.8574 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2, allocations: 0 / 0.8574 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2, allocations: 0 / 0.8574 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2, allocations: 0 / 0.8574 GB, free: 14.63 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.001455/0.2014, allocations: 0.9068 MB / 0.8582 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2015, allocations: 8.031 kB / 0.8582 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.2017, allocations: 72.55 kB / 0.8583 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2028, allocations: 0.577 MB / 0.8589 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.2029, allocations: 32.94 kB / 0.8589 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.2029, allocations: 44 kB / 0.859 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.2037, allocations: 440.6 kB / 0.8594 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2037, allocations: 3.984 kB / 0.8594 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.2038, allocations: 20 kB / 0.8594 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.2038, allocations: 8 kB / 0.8594 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.2043, allocations: 303.8 kB / 0.8597 GB, free: 12.12 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.002943/0.2072, allocations: 1.919 MB / 0.8616 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.2078, allocations: 238.8 kB / 0.8618 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.208, allocations: 124.7 kB / 0.8619 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009881/0.209, allocations: 0.8466 MB / 0.8627 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.209, allocations: 34.56 kB / 0.8628 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.555e-06/0.209, allocations: 0 / 0.8628 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007723/0.2098, allocations: 377.8 kB / 0.8631 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.2098, allocations: 59.34 kB / 0.8632 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.2105, allocations: 474 kB / 0.8636 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.2105, allocations: 33.7 kB / 0.8637 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.2108, allocations: 260.5 kB / 0.8639 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2109, allocations: 95.17 kB / 0.864 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.211, allocations: 77.97 kB / 0.8641 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2112, allocations: 354.8 kB / 0.8644 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.2114, allocations: 104.6 kB / 0.8645 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.2116, allocations: 168.1 kB / 0.8647 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.2121, allocations: 283.7 kB / 0.865 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2121, allocations: 0 / 0.865 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006598/0.2127, allocations: 369.2 kB / 0.8653 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2127, allocations: 4 kB / 0.8653 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2127, allocations: 0 / 0.8653 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2128, allocations: 4 kB / 0.8653 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.213, allocations: 79.83 kB / 0.8654 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.213, allocations: 4 kB / 0.8654 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.2133, allocations: 47.56 kB / 0.8654 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.2134, allocations: 19.98 kB / 0.8655 GB, free: 5.773 MB / 0.6075 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.0002284/0.2136, allocations: 181.5 kB / 0.8656 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2137, allocations: 51.66 kB / 0.8657 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008558/0.2146, allocations: 472.7 kB / 0.8661 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.2146, allocations: 15.92 kB / 0.8662 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2146, allocations: 0 / 0.8662 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006878/0.2153, allocations: 0.5654 MB / 0.8667 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.2172, allocations: 1.149 MB / 0.8678 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2172, allocations: 4 kB / 0.8678 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.2175, allocations: 55.91 kB / 0.8679 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2175, allocations: 0 / 0.8679 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.2176, allocations: 16 kB / 0.8679 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2176, allocations: 0 / 0.8679 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2176, allocations: 4 kB / 0.8679 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.2185, allocations: 0.6719 MB / 0.8686 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.2188, allocations: 180.6 kB / 0.8687 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.2188, allocations: 11.98 kB / 0.8687 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.2191, allocations: 16 kB / 0.8688 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.2192, allocations: 23.91 kB / 0.8688 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.2192, allocations: 19.92 kB / 0.8688 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004415/0.2196, allocations: 346.9 kB / 0.8691 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2196, allocations: 0 / 0.8691 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006593/0.2203, allocations: 195.6 kB / 0.8693 GB, free: 1.598 MB / 0.6075 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.0006426/0.2209, allocations: 307 kB / 0.8696 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.2215, allocations: 283.7 kB / 0.8699 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2215, allocations: 0 / 0.8699 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.2217, allocations: 147.8 kB / 0.87 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.2233, allocations: 332.9 kB / 0.8703 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2251, allocations: 1.082 MB / 0.8714 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.2257, allocations: 0.8627 MB / 0.8722 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.226, allocations: 124.6 kB / 0.8724 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.2261, allocations: 55.42 kB / 0.8724 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.2261, allocations: 0 / 0.8724 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of Templates: time 0.02233/0.2485, allocations: 12.45 MB / 0.8846 GB, free: 2.113 MB / 0.6231 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.491481892298907] Failed to read output from testmodel.py, exit status != 0: 0.25653944816440344 0.2705960379999999 0.067597839 Calling exit ...