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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 108 kB / 16.41 MB, free: 6.027 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.001459/0.001459, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8293/0.8293, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.58 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1646, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5671/0.7317, allocations: 167.6 MB / 0.84 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00756/0.7393, allocations: 6.557 MB / 0.8464 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.7399, allocations: 21.94 kB / 0.8464 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.7405, allocations: 172.1 kB / 0.8466 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.743, allocations: 0.837 MB / 0.8474 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.744, allocations: 331.6 kB / 0.8477 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008865/0.7449, allocations: 0.7217 MB / 0.8484 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.7454, allocations: 267.6 kB / 0.8487 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.7465, allocations: 0.5599 MB / 0.8492 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.7469, allocations: 273.5 kB / 0.8495 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.747, allocations: 22.22 kB / 0.8495 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006704/0.7476, allocations: 338.1 kB / 0.8498 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.7478, allocations: 112.7 kB / 0.8499 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.748, allocations: 163.1 kB / 0.8501 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.7487, allocations: 485.6 kB / 0.8505 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7487, allocations: 3.984 kB / 0.8505 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7487, allocations: 0 / 0.8505 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.7487, allocations: 2.75 kB / 0.8505 GB, free: 10.27 MB / 0.6231 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.0008914/0.7496, allocations: 0.6176 MB / 0.8511 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7496, allocations: 11.66 kB / 0.8511 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.75, allocations: 60.05 kB / 0.8512 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.7505, allocations: 324.8 kB / 0.8515 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.7505, allocations: 18.25 kB / 0.8515 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.7506, allocations: 29.69 kB / 0.8516 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.7511, allocations: 314 kB / 0.8519 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7511, allocations: 0 / 0.8519 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.7512, allocations: 10.56 kB / 0.8519 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.7512, allocations: 11.62 kB / 0.8519 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.7516, allocations: 205.7 kB / 0.8521 GB, free: 9.023 MB / 0.6231 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.001492/0.7531, allocations: 1.528 MB / 0.8536 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.7534, allocations: 121.3 kB / 0.8537 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.7535, allocations: 88.97 kB / 0.8538 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/0.7541, allocations: 306 kB / 0.8541 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.7542, allocations: 38.56 kB / 0.8541 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.7542, allocations: 2.094 kB / 0.8541 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007312/0.7549, allocations: 264.1 kB / 0.8544 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.755, allocations: 54.22 kB / 0.8544 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.7553, allocations: 317.4 kB / 0.8547 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.7553, allocations: 25.7 kB / 0.8547 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.7554, allocations: 189.4 kB / 0.8549 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.7555, allocations: 42.52 kB / 0.855 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.7556, allocations: 38.23 kB / 0.855 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7557, allocations: 334.8 kB / 0.8553 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.7558, allocations: 57.73 kB / 0.8554 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.756, allocations: 120.3 kB / 0.8555 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.7564, allocations: 177.6 kB / 0.8556 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7564, allocations: 0 / 0.8556 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004111/0.7568, allocations: 221 kB / 0.8559 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.7568, allocations: 7.984 kB / 0.8559 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.7568, allocations: 4.047 kB / 0.8559 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.7569, allocations: 12.08 kB / 0.8559 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.7571, allocations: 35.98 kB / 0.8559 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.7571, allocations: 0 / 0.8559 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7573, allocations: 36.86 kB / 0.856 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.7573, allocations: 8 kB / 0.856 GB, free: 5.484 MB / 0.6231 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.0001516/0.7575, allocations: 150.4 kB / 0.8561 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.7575, allocations: 23.72 kB / 0.8561 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.758, allocations: 219.3 kB / 0.8563 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.758, allocations: 0 / 0.8563 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.758, allocations: 0.625 kB / 0.8563 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.758, allocations: 4 kB / 0.8563 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.759, allocations: 0.6841 MB / 0.857 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.759, allocations: 0 / 0.857 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.7592, allocations: 31.92 kB / 0.857 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.7592, allocations: 3.984 kB / 0.857 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7592, allocations: 4 kB / 0.857 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.7592, allocations: 13.28 kB / 0.8571 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7592, allocations: 0 / 0.8571 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.7597, allocations: 329.1 kB / 0.8574 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.7598, allocations: 124.7 kB / 0.8575 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.7599, allocations: 0 / 0.8575 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.76, allocations: 19.92 kB / 0.8575 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.7601, allocations: 7.984 kB / 0.8575 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.7601, allocations: 8.062 kB / 0.8575 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002132/0.7603, allocations: 223.1 kB / 0.8577 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7603, allocations: 0 / 0.8577 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004002/0.7607, allocations: 79.83 kB / 0.8578 GB, free: 3.441 MB / 0.6231 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.0003966/0.7611, allocations: 168.6 kB / 0.858 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.7616, allocations: 155.7 kB / 0.8581 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7616, allocations: 4 kB / 0.8581 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.7618, allocations: 88.12 kB / 0.8582 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/0.7626, allocations: 157.3 kB / 0.8584 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.7636, allocations: 0.5624 MB / 0.8589 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.764, allocations: 0.7795 MB / 0.8597 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.764, allocations: 23.44 kB / 0.8597 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of SimCode: time 2.01e-07/0.764, allocations: 0 / 0.8597 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of Templates: time 0.007464/0.7715, allocations: 4.583 MB / 0.8642 GB, free: 12.91 MB / 0.6387 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)