Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.702/0.702, allocations: 128.7 MB / 144.5 MB, free: 1.387 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 191.3 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 408.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009657/0.0009657, allocations: 106.3 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 58.5 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1312, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4357/0.5669, allocations: 174.7 MB / 0.8023 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006411/0.5734, allocations: 6.631 MB / 0.8088 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.5738, allocations: 14.97 kB / 0.8088 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.5743, allocations: 128 kB / 0.8089 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.5764, allocations: 0.7965 MB / 0.8097 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.5772, allocations: 263.2 kB / 0.81 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.5784, allocations: 1.113 MB / 0.8111 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.5788, allocations: 258.7 kB / 0.8113 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5799, allocations: 0.5217 MB / 0.8118 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.5803, allocations: 302.3 kB / 0.8121 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.5803, allocations: 24.06 kB / 0.8121 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005759/0.5809, allocations: 397 kB / 0.8125 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.581, allocations: 100.9 kB / 0.8126 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.5812, allocations: 159.2 kB / 0.8128 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.5817, allocations: 0.494 MB / 0.8132 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5817, allocations: 0 / 0.8132 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5817, allocations: 4 kB / 0.8132 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.5818, allocations: 0 / 0.8132 GB, free: 9.621 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008473/0.5826, allocations: 0.6251 MB / 0.8139 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5826, allocations: 9.906 kB / 0.8139 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.5829, allocations: 57.19 kB / 0.8139 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.5833, allocations: 313.8 kB / 0.8142 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.5834, allocations: 24.03 kB / 0.8142 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.5834, allocations: 27.38 kB / 0.8143 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.5839, allocations: 265.4 kB / 0.8145 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5839, allocations: 2.656 kB / 0.8145 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.5839, allocations: 9.5 kB / 0.8145 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5839, allocations: 4.656 kB / 0.8145 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.5844, allocations: 220.5 kB / 0.8147 GB, free: 8.684 MB / 0.5261 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.00124/0.5856, allocations: 0.9867 MB / 0.8157 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.586, allocations: 211.7 kB / 0.8159 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.5862, allocations: 111.5 kB / 0.816 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005532/0.5868, allocations: 300.7 kB / 0.8163 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.5868, allocations: 45.5 kB / 0.8163 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.5868, allocations: 0 / 0.8163 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0007399/0.5876, allocations: 336.2 kB / 0.8167 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5876, allocations: 58.16 kB / 0.8167 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.5879, allocations: 293.1 kB / 0.817 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5879, allocations: 31.58 kB / 0.817 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.5881, allocations: 175.6 kB / 0.8172 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.5881, allocations: 62.02 kB / 0.8173 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.5882, allocations: 42.3 kB / 0.8173 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5883, allocations: 340.6 kB / 0.8176 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.5885, allocations: 77.94 kB / 0.8177 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.5887, allocations: 86.75 kB / 0.8178 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.589, allocations: 181.6 kB / 0.818 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.589, allocations: 6.625 kB / 0.818 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003999/0.5894, allocations: 238.9 kB / 0.8182 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.5894, allocations: 5.969 kB / 0.8182 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5894, allocations: 0 / 0.8182 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5894, allocations: 0 / 0.8182 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.5896, allocations: 37.05 kB / 0.8182 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5896, allocations: 11.25 kB / 0.8182 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.5898, allocations: 24.58 kB / 0.8183 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.5898, allocations: 13.14 kB / 0.8183 GB, free: 6.547 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.0001361/0.59, allocations: 143.8 kB / 0.8184 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.59, allocations: 28.28 kB / 0.8184 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.5905, allocations: 270.9 kB / 0.8187 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5905, allocations: 3.938 kB / 0.8187 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5905, allocations: 0 / 0.8187 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5906, allocations: 6.203 kB / 0.8187 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5916, allocations: 0.7373 MB / 0.8194 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5916, allocations: 2 kB / 0.8194 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.5918, allocations: 37.58 kB / 0.8195 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5918, allocations: 2.625 kB / 0.8195 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.5918, allocations: 6.156 kB / 0.8195 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.5918, allocations: 10.45 kB / 0.8195 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5918, allocations: 6.688 kB / 0.8195 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/0.5986, allocations: 2.864 MB / 0.8223 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.5987, allocations: 105.6 kB / 0.8224 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.5988, allocations: 10.28 kB / 0.8224 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.5989, allocations: 17.36 kB / 0.8224 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.599, allocations: 14.89 kB / 0.8224 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.599, allocations: 11.95 kB / 0.8224 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001856/0.5992, allocations: 219.5 kB / 0.8226 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5992, allocations: 0 / 0.8226 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000504/0.5997, allocations: 107.5 kB / 0.8228 GB, free: 3.957 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0003826/0.6001, allocations: 159.5 kB / 0.8229 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.6005, allocations: 193.3 kB / 0.8231 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.6005, allocations: 0 / 0.8231 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.6007, allocations: 105.9 kB / 0.8232 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007952/0.6016, allocations: 158.5 kB / 0.8233 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.6027, allocations: 0.9262 MB / 0.8242 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.6031, allocations: 0.7851 MB / 0.825 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.6033, allocations: 66.14 kB / 0.8251 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.6033, allocations: 25.41 kB / 0.8251 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.6033, allocations: 0 / 0.8251 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of Templates: time 0.008942/0.6123, allocations: 5.274 MB / 0.8302 GB, free: 15.73 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)