Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") translateModel(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 105.2 kB / 16.4 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7684/0.7684, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.02 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1678, allocations: 76.17 MB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02473/0.1925, allocations: 23.19 MB / 0.6547 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008311/0.2009, allocations: 5.085 MB / 0.6597 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.2021, allocations: 27.81 kB / 0.6597 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009638/0.203, allocations: 278.1 kB / 0.66 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.2058, allocations: 0.8358 MB / 0.6608 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.2079, allocations: 0.7685 MB / 0.6616 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.2098, allocations: 1.617 MB / 0.6631 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000676/0.2105, allocations: 489.5 kB / 0.6636 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.2121, allocations: 0.6366 MB / 0.6642 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/0.2126, allocations: 446 kB / 0.6647 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.2127, allocations: 44 kB / 0.6647 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.2138, allocations: 495.1 kB / 0.6652 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.2139, allocations: 143.4 kB / 0.6653 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.2142, allocations: 306.5 kB / 0.6656 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.2155, allocations: 0.9192 MB / 0.6665 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2155, allocations: 4 kB / 0.6665 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2155, allocations: 0 / 0.6665 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2155, allocations: 4 kB / 0.6665 GB, free: 1 MB / 0.4981 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.001317/0.2169, allocations: 0.8881 MB / 0.6674 GB, free: 64 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2169, allocations: 11.97 kB / 0.6674 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.2171, allocations: 64.36 kB / 0.6674 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/0.2181, allocations: 0.5805 MB / 0.668 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.2182, allocations: 32.94 kB / 0.668 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.2182, allocations: 36 kB / 0.6681 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.2189, allocations: 444.7 kB / 0.6685 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.219, allocations: 7.922 kB / 0.6685 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.219, allocations: 16 kB / 0.6685 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.2191, allocations: 12 kB / 0.6685 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.2196, allocations: 303.8 kB / 0.6688 GB, free: 14.5 MB / 0.5137 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.002547/0.2221, allocations: 1.907 MB / 0.6707 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.2226, allocations: 260.4 kB / 0.6709 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2228, allocations: 124.8 kB / 0.6711 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007884/0.2236, allocations: 0.8467 MB / 0.6719 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.2237, allocations: 34.56 kB / 0.6719 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 2.255e-06/0.2237, allocations: 0 / 0.6719 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0006911/0.2244, allocations: 376.1 kB / 0.6723 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.2244, allocations: 59.34 kB / 0.6723 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.225, allocations: 481.9 kB / 0.6728 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.2251, allocations: 33.7 kB / 0.6728 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.2253, allocations: 260.1 kB / 0.6731 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.2254, allocations: 90.66 kB / 0.6732 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2255, allocations: 77.92 kB / 0.6732 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2256, allocations: 354.8 kB / 0.6736 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2258, allocations: 96.61 kB / 0.6737 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.226, allocations: 172.1 kB / 0.6738 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.2264, allocations: 286.6 kB / 0.6741 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2265, allocations: 0 / 0.6741 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005948/0.2271, allocations: 364.8 kB / 0.6745 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2271, allocations: 4 kB / 0.6745 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2271, allocations: 4 kB / 0.6745 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2271, allocations: 0 / 0.6745 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.2274, allocations: 80.06 kB / 0.6745 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2274, allocations: 3.984 kB / 0.6745 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.2277, allocations: 39.59 kB / 0.6746 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.2278, allocations: 12 kB / 0.6746 GB, free: 8.164 MB / 0.5137 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.0002106/0.228, allocations: 193.6 kB / 0.6748 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.2281, allocations: 47.44 kB / 0.6748 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.2289, allocations: 476.8 kB / 0.6753 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.2289, allocations: 15.92 kB / 0.6753 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2289, allocations: 0 / 0.6753 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005658/0.2295, allocations: 0.5723 MB / 0.6758 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.2313, allocations: 1.145 MB / 0.677 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2313, allocations: 4 kB / 0.677 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.2315, allocations: 47.92 kB / 0.677 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.2316, allocations: 4.188 kB / 0.677 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2316, allocations: 15.98 kB / 0.677 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2316, allocations: 0 / 0.677 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2316, allocations: 4 kB / 0.677 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.2325, allocations: 0.6753 MB / 0.6777 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.2327, allocations: 176.3 kB / 0.6779 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.2328, allocations: 8 kB / 0.6779 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.2331, allocations: 15.97 kB / 0.6779 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.2332, allocations: 23.97 kB / 0.6779 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.2332, allocations: 23.88 kB / 0.6779 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000417/0.2336, allocations: 350.8 kB / 0.6783 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.523e-06/0.2336, allocations: 0 / 0.6783 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006611/0.2343, allocations: 203.7 kB / 0.6785 GB, free: 3.969 MB / 0.5137 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.0006468/0.235, allocations: 283.9 kB / 0.6787 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.2355, allocations: 287.7 kB / 0.679 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2355, allocations: 4 kB / 0.679 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.2358, allocations: 159.8 kB / 0.6792 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.2374, allocations: 334.5 kB / 0.6795 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.2392, allocations: 1.07 MB / 0.6805 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.2397, allocations: 0.8705 MB / 0.6814 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004137/0.2402, allocations: 120.7 kB / 0.6815 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2403, allocations: 55.36 kB / 0.6815 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.2403, allocations: 4 kB / 0.6816 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of Templates: time 0.023/0.2633, allocations: 12.22 MB / 0.6935 GB, free: 4.688 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)