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.001397/0.001397, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001534/0.001534, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002557/0.002557, allocations: 287.1 kB / 313.5 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.241/1.241, allocations: 180.6 MB / 0.5377 GB, free: 14.65 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.002884/0.002884, allocations: 106.3 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1839, allocations: 95.38 MB / 0.8339 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02709/0.211, allocations: 21.58 MB / 0.855 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008251/0.2193, allocations: 4.731 MB / 0.8596 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000881/0.2202, allocations: 39.69 kB / 0.8596 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.2212, allocations: 290 kB / 0.8599 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.2238, allocations: 0.8319 MB / 0.8607 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.226, allocations: 0.7706 MB / 0.8615 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002598/0.2286, allocations: 1.643 MB / 0.8631 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.2294, allocations: 406.1 kB / 0.8635 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.2311, allocations: 0.6389 MB / 0.8641 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.2318, allocations: 461.9 kB / 0.8645 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.213e-05/0.2319, allocations: 44 kB / 0.8646 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.2329, allocations: 415.1 kB / 0.865 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2331, allocations: 151.3 kB / 0.8651 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.2334, allocations: 254.8 kB / 0.8653 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.2348, allocations: 0.9226 MB / 0.8662 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2348, allocations: 3.938 kB / 0.8662 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2348, allocations: 4 kB / 0.8662 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.2348, allocations: 0 / 0.8662 GB, free: 6.559 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.001336/0.2361, allocations: 0.8277 MB / 0.8671 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2362, allocations: 17.28 kB / 0.8671 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.2364, allocations: 72.5 kB / 0.8671 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2374, allocations: 0.5076 MB / 0.8676 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.2374, allocations: 32.94 kB / 0.8677 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.2375, allocations: 39.95 kB / 0.8677 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.2383, allocations: 0.5056 MB / 0.8682 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2383, allocations: 0 / 0.8682 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.2384, allocations: 16 kB / 0.8682 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.2384, allocations: 15.98 kB / 0.8682 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.2389, allocations: 303.8 kB / 0.8685 GB, free: 4.129 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.002487/0.2414, allocations: 1.439 MB / 0.8699 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.2419, allocations: 250.7 kB / 0.8702 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.2421, allocations: 116.7 kB / 0.8703 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.2426, allocations: 99.89 kB / 0.8704 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.2426, allocations: 34.56 kB / 0.8704 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.2426, allocations: 3.938 kB / 0.8704 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.000703/0.2433, allocations: 364.7 kB / 0.8708 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.2434, allocations: 55.41 kB / 0.8708 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.2439, allocations: 405.8 kB / 0.8712 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2439, allocations: 29.7 kB / 0.8712 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.2441, allocations: 276.4 kB / 0.8715 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.954e-05/0.2442, allocations: 107.2 kB / 0.8716 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.2443, allocations: 66.02 kB / 0.8717 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2445, allocations: 350.8 kB / 0.872 GB, free: 472 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2447, allocations: 100.6 kB / 0.8721 GB, free: 372 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.2449, allocations: 253.8 kB / 0.8723 GB, free: 76 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.2454, allocations: 275.5 kB / 0.8726 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2454, allocations: 7.938 kB / 0.8726 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006005/0.246, allocations: 357.3 kB / 0.8729 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.246, allocations: 17.69 kB / 0.873 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.246, allocations: 0 / 0.873 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.246, allocations: 7.984 kB / 0.873 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.2463, allocations: 67.91 kB / 0.873 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.2463, allocations: 11.92 kB / 0.873 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.2466, allocations: 27.78 kB / 0.8731 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.2466, allocations: 23.92 kB / 0.8731 GB, free: 15.27 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.0002131/0.2468, allocations: 173.8 kB / 0.8733 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.2469, allocations: 47.72 kB / 0.8733 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.2477, allocations: 476.7 kB / 0.8738 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.2477, allocations: 7.984 kB / 0.8738 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2478, allocations: 3.938 kB / 0.8738 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006298/0.2484, allocations: 0.5808 MB / 0.8743 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.2501, allocations: 0.9477 MB / 0.8753 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2501, allocations: 7.938 kB / 0.8753 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.2504, allocations: 47.92 kB / 0.8753 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2504, allocations: 0 / 0.8753 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.2504, allocations: 20.17 kB / 0.8753 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2504, allocations: 0 / 0.8753 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2504, allocations: 7.938 kB / 0.8753 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009394/0.2513, allocations: 0.6691 MB / 0.876 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.2515, allocations: 91.58 kB / 0.8761 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.2516, allocations: 8 kB / 0.8761 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.2518, allocations: 8 kB / 0.8761 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.2519, allocations: 31.89 kB / 0.8761 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.2519, allocations: 19.92 kB / 0.8761 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003745/0.2523, allocations: 283.1 kB / 0.8764 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2523, allocations: 0 / 0.8764 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006665/0.2529, allocations: 207.5 kB / 0.8766 GB, free: 11.48 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.0004913/0.2534, allocations: 282.7 kB / 0.8769 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005876/0.254, allocations: 291.9 kB / 0.8772 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.254, allocations: 0 / 0.8772 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.2543, allocations: 159.7 kB / 0.8773 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.2555, allocations: 245.7 kB / 0.8775 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.2574, allocations: 1.101 MB / 0.8786 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2577, allocations: 262.2 kB / 0.8789 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2578, allocations: 51.42 kB / 0.8789 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2578, allocations: 0 / 0.8789 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of Templates: time 0.01475/0.2726, allocations: 9.216 MB / 0.8879 GB, free: 15.89 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: 9.786694579292089] Failed to read output from testmodel.py, exit status != 0: 0.2804217217490077 0.295025584 0.057241611000000005 Calling exit ...