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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004591/0.004591, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001121/0.00112, allocations: 197.3 kB / 16.79 MB, free: 6.246 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7125/0.7125, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.19 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1566, allocations: 76.19 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4729/0.6296, allocations: 165.3 MB / 0.7172 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008322/0.638, allocations: 6.544 MB / 0.7236 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.6385, allocations: 15.88 kB / 0.7237 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.6392, allocations: 131.1 kB / 0.7238 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.6412, allocations: 0.7899 MB / 0.7245 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.6421, allocations: 284.7 kB / 0.7248 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009813/0.6431, allocations: 1.018 MB / 0.7258 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.6435, allocations: 238 kB / 0.726 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.6445, allocations: 0.5098 MB / 0.7265 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.6449, allocations: 278.9 kB / 0.7268 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.6449, allocations: 16 kB / 0.7268 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006563/0.6456, allocations: 391 kB / 0.7272 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.6457, allocations: 111.6 kB / 0.7273 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.6459, allocations: 151.2 kB / 0.7274 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.6466, allocations: 482.4 kB / 0.7279 GB, free: 6.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6466, allocations: 0 / 0.7279 GB, free: 6.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6466, allocations: 4 kB / 0.7279 GB, free: 6.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6466, allocations: 0 / 0.7279 GB, free: 6.66 MB / 0.545 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.0009615/0.6476, allocations: 0.6202 MB / 0.7285 GB, free: 5.992 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6476, allocations: 12.03 kB / 0.7285 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.651e-05/0.6477, allocations: 62.48 kB / 0.7286 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.648, allocations: 63.58 kB / 0.7286 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.6484, allocations: 309.2 kB / 0.7289 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.6485, allocations: 16.56 kB / 0.729 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.6485, allocations: 32 kB / 0.729 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.6491, allocations: 315.7 kB / 0.7293 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6491, allocations: 3.984 kB / 0.7293 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.6491, allocations: 12 kB / 0.7293 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.6492, allocations: 12 kB / 0.7293 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.6496, allocations: 201.5 kB / 0.7295 GB, free: 4.906 MB / 0.545 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.00158/0.6512, allocations: 1.53 MB / 0.731 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.6514, allocations: 129.5 kB / 0.7311 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.6516, allocations: 88.81 kB / 0.7312 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.6523, allocations: 303.2 kB / 0.7315 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6523, allocations: 34.56 kB / 0.7315 GB, free: 2.621 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.6523, allocations: 0 / 0.7315 GB, free: 2.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007266/0.6531, allocations: 273.5 kB / 0.7318 GB, free: 2.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6531, allocations: 55.41 kB / 0.7318 GB, free: 2.281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.6534, allocations: 312.5 kB / 0.7321 GB, free: 1.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6535, allocations: 29.7 kB / 0.7322 GB, free: 1.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.6536, allocations: 180.1 kB / 0.7323 GB, free: 1.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.6537, allocations: 47.36 kB / 0.7324 GB, free: 1.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.6538, allocations: 37.7 kB / 0.7324 GB, free: 1.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6539, allocations: 338.8 kB / 0.7327 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.654, allocations: 59.95 kB / 0.7328 GB, free: 1.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.6542, allocations: 111.6 kB / 0.7329 GB, free: 1.137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.6546, allocations: 173 kB / 0.7331 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6546, allocations: 3.938 kB / 0.7331 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004138/0.655, allocations: 219.7 kB / 0.7333 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.655, allocations: 7.984 kB / 0.7333 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.6551, allocations: 3.938 kB / 0.7333 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6551, allocations: 4 kB / 0.7333 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.6553, allocations: 31.98 kB / 0.7333 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.6553, allocations: 4 kB / 0.7333 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.6555, allocations: 43.77 kB / 0.7334 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.6555, allocations: 11.98 kB / 0.7334 GB, free: 0.6211 MB / 0.545 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.0001477/0.6557, allocations: 157.6 kB / 0.7335 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.6557, allocations: 23.72 kB / 0.7336 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.6562, allocations: 206.7 kB / 0.7338 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6562, allocations: 0 / 0.7338 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6562, allocations: 0 / 0.7338 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6562, allocations: 3.984 kB / 0.7338 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.6572, allocations: 0.6951 MB / 0.7344 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6572, allocations: 0 / 0.7344 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.6574, allocations: 23.98 kB / 0.7345 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6574, allocations: 4 kB / 0.7345 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.6574, allocations: 8 kB / 0.7345 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.6574, allocations: 11.88 kB / 0.7345 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6574, allocations: 4.219 kB / 0.7345 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.6579, allocations: 333.1 kB / 0.7348 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.658, allocations: 116.7 kB / 0.7349 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.6581, allocations: 4.875 kB / 0.7349 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.6583, allocations: 23.92 kB / 0.7349 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.6583, allocations: 11.98 kB / 0.735 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6583, allocations: 7.984 kB / 0.735 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002036/0.6586, allocations: 223.1 kB / 0.7352 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6586, allocations: 0 / 0.7352 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003643/0.6589, allocations: 71.84 kB / 0.7352 GB, free: 14.57 MB / 0.5606 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.00101/0.6599, allocations: 0.9318 MB / 0.7362 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.6603, allocations: 159.9 kB / 0.7363 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6604, allocations: 3.938 kB / 0.7363 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.6605, allocations: 79.83 kB / 0.7364 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.6613, allocations: 146.7 kB / 0.7365 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.6648, allocations: 2.894 MB / 0.7394 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.6652, allocations: 0.7798 MB / 0.7401 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.6654, allocations: 62.92 kB / 0.7402 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.6655, allocations: 91.41 kB / 0.7403 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.6655, allocations: 0 / 0.7403 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.6858, allocations: 7.674 MB / 0.7478 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.6861, allocations: 230.2 kB / 0.748 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.543, allocations: 0 / 0.748 GB, free: 1.484 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)