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.001425/0.001424, allocations: 116.8 kB / 17.09 MB, free: 5.965 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.001363/0.001363, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7234/0.7234, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 74.45 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1661, allocations: 76.18 MB / 0.6328 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02526/0.1914, allocations: 23.2 MB / 0.6554 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008009/0.1995, allocations: 5.07 MB / 0.6604 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009818/0.2005, allocations: 31.81 kB / 0.6604 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009154/0.2014, allocations: 286.1 kB / 0.6607 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.2037, allocations: 0.828 MB / 0.6615 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.2055, allocations: 0.7708 MB / 0.6622 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.2076, allocations: 1.621 MB / 0.6638 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.2084, allocations: 489.5 kB / 0.6643 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.2099, allocations: 0.6264 MB / 0.6649 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.2105, allocations: 454 kB / 0.6653 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.2106, allocations: 48 kB / 0.6654 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.2117, allocations: 495.1 kB / 0.6658 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.2119, allocations: 143.4 kB / 0.666 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.2122, allocations: 306.6 kB / 0.6663 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.2135, allocations: 0.923 MB / 0.6672 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2135, allocations: 0 / 0.6672 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2135, allocations: 0 / 0.6672 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2135, allocations: 0 / 0.6672 GB, free: 0.9883 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.001298/0.2148, allocations: 0.8842 MB / 0.668 GB, free: 56 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2148, allocations: 11.97 kB / 0.668 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.2151, allocations: 72.36 kB / 0.6681 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.216, allocations: 0.565 MB / 0.6687 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.2161, allocations: 40.88 kB / 0.6687 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.2162, allocations: 40 kB / 0.6687 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.2169, allocations: 444.7 kB / 0.6692 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2169, allocations: 0 / 0.6692 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.217, allocations: 16 kB / 0.6692 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.217, allocations: 11.98 kB / 0.6692 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.2175, allocations: 303.7 kB / 0.6695 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.002557/0.2201, allocations: 1.915 MB / 0.6713 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.2206, allocations: 262.7 kB / 0.6716 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2208, allocations: 124.8 kB / 0.6717 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/0.2216, allocations: 0.8467 MB / 0.6725 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2217, allocations: 34.55 kB / 0.6726 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 5.421e-06/0.2217, allocations: 0 / 0.6726 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0006985/0.2224, allocations: 372.2 kB / 0.6729 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2224, allocations: 59.34 kB / 0.673 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.223, allocations: 485.9 kB / 0.6735 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.223, allocations: 29.7 kB / 0.6735 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.2232, allocations: 264.1 kB / 0.6737 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.2233, allocations: 90.66 kB / 0.6738 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.2234, allocations: 69.92 kB / 0.6739 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2236, allocations: 358.8 kB / 0.6742 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2238, allocations: 100.5 kB / 0.6743 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.224, allocations: 168.1 kB / 0.6745 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.2244, allocations: 294.6 kB / 0.6748 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2244, allocations: 0 / 0.6748 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005662/0.225, allocations: 352.9 kB / 0.6751 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.225, allocations: 12.22 kB / 0.6751 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.225, allocations: 3.938 kB / 0.6751 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.225, allocations: 4 kB / 0.6751 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.2253, allocations: 79.83 kB / 0.6752 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2253, allocations: 4 kB / 0.6752 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2256, allocations: 35.59 kB / 0.6752 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.2256, allocations: 19.98 kB / 0.6753 GB, free: 8.141 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.0001935/0.2258, allocations: 181.7 kB / 0.6754 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.2259, allocations: 51.44 kB / 0.6755 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/0.2267, allocations: 468.8 kB / 0.6759 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.2267, allocations: 7.938 kB / 0.6759 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2268, allocations: 4 kB / 0.6759 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005745/0.2273, allocations: 0.5723 MB / 0.6765 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.2291, allocations: 1.153 MB / 0.6776 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2291, allocations: 0 / 0.6776 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2293, allocations: 51.92 kB / 0.6777 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2293, allocations: 7.984 kB / 0.6777 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.2294, allocations: 8 kB / 0.6777 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2294, allocations: 4 kB / 0.6777 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2294, allocations: 4 kB / 0.6777 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.2303, allocations: 0.6792 MB / 0.6784 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.2305, allocations: 172.3 kB / 0.6785 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.2305, allocations: 8 kB / 0.6785 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.2308, allocations: 15.92 kB / 0.6785 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2309, allocations: 27.97 kB / 0.6786 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.2309, allocations: 19.92 kB / 0.6786 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000414/0.2313, allocations: 342.9 kB / 0.6789 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2313, allocations: 4 kB / 0.6789 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006389/0.232, allocations: 199.7 kB / 0.6791 GB, free: 3.965 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.0006487/0.2326, allocations: 284.8 kB / 0.6794 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.2331, allocations: 291.7 kB / 0.6797 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2332, allocations: 448 / 0.6797 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.2334, allocations: 163.8 kB / 0.6798 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.2349, allocations: 334.7 kB / 0.6801 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.2366, allocations: 1.099 MB / 0.6812 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.2371, allocations: 0.8666 MB / 0.6821 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.2372, allocations: 59.42 kB / 0.6821 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.2372, allocations: 4 kB / 0.6821 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of Templates: time 0.01466/0.2519, allocations: 9.907 MB / 0.6918 GB, free: 6.988 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)