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.001611/0.001611, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00171/0.00171, allocations: 223.5 kB / 23.01 MB, free: 4.609 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.002425/0.002425, allocations: 286.8 kB / 313.5 MB, free: 2.848 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.192/1.192, allocations: 180.6 MB / 0.5377 GB, free: 13.12 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.002783/0.002783, allocations: 99.72 kB / 0.7408 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1618, allocations: 95.39 MB / 0.834 GB, free: 8.312 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02827/0.19, allocations: 23.75 MB / 0.8572 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00796/0.198, allocations: 5.117 MB / 0.8622 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009228/0.1989, allocations: 39.69 kB / 0.8622 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009332/0.1998, allocations: 286 kB / 0.8625 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.2021, allocations: 0.849 MB / 0.8633 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.204, allocations: 0.8061 MB / 0.8641 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.2064, allocations: 1.656 MB / 0.8657 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/0.2072, allocations: 402.1 kB / 0.8661 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.2089, allocations: 0.6344 MB / 0.8667 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008195/0.2097, allocations: 485.9 kB / 0.8672 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.2098, allocations: 44 kB / 0.8672 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.211, allocations: 0.5303 MB / 0.8677 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.2112, allocations: 147.4 kB / 0.8679 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.2116, allocations: 306.5 kB / 0.8682 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.2131, allocations: 0.9459 MB / 0.8691 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2131, allocations: 0 / 0.8691 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2131, allocations: 0 / 0.8691 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.2131, allocations: 4 kB / 0.8691 GB, free: 4.211 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.001554/0.2147, allocations: 0.8315 MB / 0.8699 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2147, allocations: 9.344 kB / 0.8699 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.2149, allocations: 72.52 kB / 0.87 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.216, allocations: 0.5114 MB / 0.8705 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.2161, allocations: 32.94 kB / 0.8705 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.2161, allocations: 40 kB / 0.8706 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.2169, allocations: 432.7 kB / 0.871 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2169, allocations: 4 kB / 0.871 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.2169, allocations: 19.94 kB / 0.871 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.217, allocations: 19.98 kB / 0.871 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.2175, allocations: 303.8 kB / 0.8713 GB, free: 1.875 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.002726/0.2202, allocations: 1.776 MB / 0.873 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.2207, allocations: 244.9 kB / 0.8733 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.2209, allocations: 116.7 kB / 0.8734 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.2214, allocations: 103.9 kB / 0.8735 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.2215, allocations: 42.5 kB / 0.8735 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.372e-06/0.2215, allocations: 0 / 0.8735 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.0006953/0.2221, allocations: 376.4 kB / 0.8739 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2222, allocations: 55.34 kB / 0.8739 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.2228, allocations: 478 kB / 0.8744 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2228, allocations: 29.7 kB / 0.8744 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.223, allocations: 264.4 kB / 0.8747 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.2231, allocations: 103.1 kB / 0.8748 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2232, allocations: 77.97 kB / 0.8748 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.2234, allocations: 358.8 kB / 0.8752 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2236, allocations: 96.61 kB / 0.8753 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2238, allocations: 168.7 kB / 0.8754 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.2242, allocations: 287.7 kB / 0.8757 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2242, allocations: 0 / 0.8757 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006088/0.2248, allocations: 369 kB / 0.8761 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2249, allocations: 8 kB / 0.8761 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2249, allocations: 0 / 0.8761 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2249, allocations: 4 kB / 0.8761 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.2252, allocations: 79.83 kB / 0.8761 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2252, allocations: 4 kB / 0.8761 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.2254, allocations: 39.95 kB / 0.8762 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.2255, allocations: 16 kB / 0.8762 GB, free: 12.63 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.0002096/0.2257, allocations: 181.7 kB / 0.8764 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/0.2258, allocations: 51.67 kB / 0.8764 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008099/0.2266, allocations: 481.1 kB / 0.8769 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.2266, allocations: 7.938 kB / 0.8769 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2266, allocations: 0 / 0.8769 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006282/0.2272, allocations: 0.5808 MB / 0.8775 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.229, allocations: 1.064 MB / 0.8785 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.229, allocations: 4 kB / 0.8785 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.2293, allocations: 59.91 kB / 0.8786 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2293, allocations: 0 / 0.8786 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2293, allocations: 15.98 kB / 0.8786 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2293, allocations: 0 / 0.8786 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2293, allocations: 8.188 kB / 0.8786 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.2302, allocations: 0.6807 MB / 0.8792 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.2304, allocations: 103.5 kB / 0.8793 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.2305, allocations: 4 kB / 0.8793 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.2308, allocations: 12 kB / 0.8794 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2308, allocations: 27.89 kB / 0.8794 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.2308, allocations: 19.92 kB / 0.8794 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004161/0.2312, allocations: 342.9 kB / 0.8797 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 0 / 0.8797 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006112/0.2319, allocations: 203.6 kB / 0.8799 GB, free: 8.629 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.0004978/0.2324, allocations: 274.7 kB / 0.8802 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.2329, allocations: 288.2 kB / 0.8805 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2329, allocations: 0 / 0.8805 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.2331, allocations: 159.7 kB / 0.8806 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.2346, allocations: 331 kB / 0.8809 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.2364, allocations: 1.112 MB / 0.882 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.2369, allocations: 0.851 MB / 0.8828 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2371, allocations: 71.34 kB / 0.8829 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.2371, allocations: 0 / 0.8829 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of Templates: time 0.01637/0.2535, allocations: 9.929 MB / 0.8926 GB, free: 11.66 MB / 0.6388 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: 10.00992200197652] Failed to read output from testmodel.py, exit status != 0: 0.2609608331695199 0.27606744299999997 0.05986917299999994 Calling exit ...