Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001381/0.001382, 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7783/0.7783, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 69.55 kB / 0.5577 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1704, allocations: 76.17 MB / 0.6321 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5784/0.7488, allocations: 167.5 MB / 0.7957 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00731/0.7562, allocations: 6.544 MB / 0.8021 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000602/0.7568, allocations: 12.09 kB / 0.8021 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.7575, allocations: 173.2 kB / 0.8022 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.7598, allocations: 0.8372 MB / 0.8031 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.7609, allocations: 335.6 kB / 0.8034 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009569/0.7618, allocations: 0.7163 MB / 0.8041 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.7623, allocations: 283.5 kB / 0.8043 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.7637, allocations: 0.5511 MB / 0.8049 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.7641, allocations: 273.3 kB / 0.8051 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.7641, allocations: 22.47 kB / 0.8052 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.7649, allocations: 341.8 kB / 0.8055 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.765, allocations: 105.7 kB / 0.8056 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.7652, allocations: 165.2 kB / 0.8057 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.7658, allocations: 465.6 kB / 0.8062 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7658, allocations: 6.781 kB / 0.8062 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7658, allocations: 0 / 0.8062 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.7658, allocations: 3.938 kB / 0.8062 GB, free: 11.71 MB / 0.5919 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.0008748/0.7667, allocations: 0.6146 MB / 0.8068 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.7667, allocations: 8.219 kB / 0.8068 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.7671, allocations: 58.98 kB / 0.8069 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.7675, allocations: 332.9 kB / 0.8072 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.7676, allocations: 16.94 kB / 0.8072 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.7676, allocations: 25.09 kB / 0.8072 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.7682, allocations: 315.1 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.7682, allocations: 6.375 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.7682, allocations: 9.312 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.7683, allocations: 7.656 kB / 0.8075 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.7687, allocations: 198.1 kB / 0.8077 GB, free: 10.8 MB / 0.5919 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.001494/0.7702, allocations: 1.534 MB / 0.8092 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.7704, allocations: 120.9 kB / 0.8094 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.7706, allocations: 90.66 kB / 0.8094 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000575/0.7712, allocations: 304.9 kB / 0.8097 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7713, allocations: 37.66 kB / 0.8098 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 3.386e-06/0.7713, allocations: 3.984 kB / 0.8098 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007182/0.772, allocations: 269.7 kB / 0.81 GB, free: 9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.772, allocations: 53.66 kB / 0.8101 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.7723, allocations: 319.7 kB / 0.8104 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.7724, allocations: 29.64 kB / 0.8104 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.7725, allocations: 185.2 kB / 0.8106 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.7725, allocations: 39.61 kB / 0.8106 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.7726, allocations: 43.23 kB / 0.8107 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7728, allocations: 336.2 kB / 0.811 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.7729, allocations: 58.98 kB / 0.811 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.7731, allocations: 116.8 kB / 0.8112 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.7734, allocations: 174.7 kB / 0.8113 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7734, allocations: 0 / 0.8113 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004035/0.7738, allocations: 230.5 kB / 0.8115 GB, free: 8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7739, allocations: 10.55 kB / 0.8115 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7739, allocations: 2.938 kB / 0.8116 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7739, allocations: 0 / 0.8116 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.7741, allocations: 39.05 kB / 0.8116 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.7741, allocations: 2.719 kB / 0.8116 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.7743, allocations: 33.17 kB / 0.8116 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.7743, allocations: 8.625 kB / 0.8116 GB, free: 7.965 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001447/0.7745, allocations: 148.8 kB / 0.8118 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.7745, allocations: 26.62 kB / 0.8118 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.7749, allocations: 213.4 kB / 0.812 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.775, allocations: 0 / 0.812 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.775, allocations: 2.75 kB / 0.812 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.775, allocations: 4 kB / 0.812 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.7759, allocations: 0.6784 MB / 0.8127 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.776, allocations: 2.812 kB / 0.8127 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.7761, allocations: 34.11 kB / 0.8127 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.7761, allocations: 2.406 kB / 0.8127 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.7761, allocations: 6.516 kB / 0.8127 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.7761, allocations: 5.812 kB / 0.8127 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7761, allocations: 2.906 kB / 0.8127 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.7765, allocations: 330.6 kB / 0.813 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.7767, allocations: 123.6 kB / 0.8132 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.7767, allocations: 6.875 kB / 0.8132 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.7769, allocations: 12.23 kB / 0.8132 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.7769, allocations: 13.09 kB / 0.8132 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.7769, allocations: 8.703 kB / 0.8132 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001898/0.7771, allocations: 223.3 kB / 0.8134 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7771, allocations: 0 / 0.8134 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003724/0.7775, allocations: 77.34 kB / 0.8135 GB, free: 6.773 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003616/0.7779, allocations: 160.1 kB / 0.8136 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.7783, allocations: 159.7 kB / 0.8138 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7783, allocations: 0 / 0.8138 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.7785, allocations: 89.62 kB / 0.8139 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.7793, allocations: 158.3 kB / 0.814 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.7801, allocations: 0.528 MB / 0.8145 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.7805, allocations: 0.7875 MB / 0.8153 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.7807, allocations: 55.27 kB / 0.8154 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.7808, allocations: 28.67 kB / 0.8154 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.7808, allocations: 0 / 0.8154 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.009269/0.79, allocations: 5.246 MB / 0.8205 GB, free: 2.828 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)