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.001407/0.001407, allocations: 105.5 kB / 15.98 MB, free: 5.871 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.001407/0.001408, allocations: 197.5 kB / 16.91 MB, free: 5.738 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.302/1.302, allocations: 222.9 MB / 240.6 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6807/0.6807, allocations: 115.3 MB / 406.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 65.25 kB / 493.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1271, allocations: 76.18 MB / 0.556 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3877/0.5148, allocations: 165.3 MB / 0.7174 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007124/0.522, allocations: 6.489 MB / 0.7238 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/0.5225, allocations: 11.94 kB / 0.7238 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.5231, allocations: 139.1 kB / 0.7239 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.5251, allocations: 0.7899 MB / 0.7247 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.5259, allocations: 300.8 kB / 0.725 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.5269, allocations: 0.7174 MB / 0.7257 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.5273, allocations: 266.6 kB / 0.7259 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.5285, allocations: 0.5449 MB / 0.7264 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004276/0.5289, allocations: 282.9 kB / 0.7267 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.529, allocations: 24 kB / 0.7267 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.5296, allocations: 355.1 kB / 0.7271 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.5298, allocations: 107.7 kB / 0.7272 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.5299, allocations: 163.1 kB / 0.7273 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.5306, allocations: 486.4 kB / 0.7278 GB, free: 6.895 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5306, allocations: 0 / 0.7278 GB, free: 6.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5306, allocations: 0 / 0.7278 GB, free: 6.895 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.5306, allocations: 0 / 0.7278 GB, free: 6.895 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.0008547/0.5315, allocations: 0.628 MB / 0.7284 GB, free: 6.219 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5315, allocations: 8.031 kB / 0.7284 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.5316, allocations: 62.53 kB / 0.7285 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.5319, allocations: 59.59 kB / 0.7285 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.5323, allocations: 305.2 kB / 0.7288 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.5323, allocations: 16.56 kB / 0.7288 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.5324, allocations: 31.94 kB / 0.7289 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.5329, allocations: 327.6 kB / 0.7292 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5329, allocations: 3.938 kB / 0.7292 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.5329, allocations: 12 kB / 0.7292 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.533, allocations: 8 kB / 0.7292 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.5334, allocations: 197.6 kB / 0.7294 GB, free: 5.137 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.001428/0.5348, allocations: 1.534 MB / 0.7309 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.5351, allocations: 122.5 kB / 0.731 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.5352, allocations: 88.81 kB / 0.7311 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/0.5359, allocations: 307.2 kB / 0.7314 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.536, allocations: 31.44 kB / 0.7314 GB, free: 2.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 3.426e-06/0.536, allocations: 0 / 0.7314 GB, free: 2.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007432/0.5367, allocations: 265.2 kB / 0.7317 GB, free: 2.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5368, allocations: 59.41 kB / 0.7317 GB, free: 2.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.5371, allocations: 312.5 kB / 0.732 GB, free: 2.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.5371, allocations: 29.7 kB / 0.7321 GB, free: 2.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.5373, allocations: 180.1 kB / 0.7322 GB, free: 1.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.5373, allocations: 51.34 kB / 0.7323 GB, free: 1.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.5374, allocations: 33.7 kB / 0.7323 GB, free: 1.898 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5375, allocations: 338.8 kB / 0.7326 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.5377, allocations: 63.95 kB / 0.7327 GB, free: 1.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5379, allocations: 113 kB / 0.7328 GB, free: 1.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.5382, allocations: 170.2 kB / 0.733 GB, free: 1.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.5382, allocations: 3.938 kB / 0.733 GB, free: 1.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004121/0.5386, allocations: 232.3 kB / 0.7332 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5387, allocations: 4 kB / 0.7332 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5387, allocations: 3.938 kB / 0.7332 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5387, allocations: 4 kB / 0.7332 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.5389, allocations: 35.92 kB / 0.7332 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5389, allocations: 0 / 0.7332 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.5391, allocations: 47.59 kB / 0.7333 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.5391, allocations: 4.031 kB / 0.7333 GB, free: 0.8555 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.0001339/0.5393, allocations: 153.8 kB / 0.7334 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.5393, allocations: 23.72 kB / 0.7335 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.5397, allocations: 212.5 kB / 0.7337 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5398, allocations: 0 / 0.7337 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5398, allocations: 0 / 0.7337 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5398, allocations: 0 / 0.7337 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.5408, allocations: 0.6836 MB / 0.7343 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5408, allocations: 4.062 kB / 0.7343 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.5409, allocations: 31.92 kB / 0.7344 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5409, allocations: 0 / 0.7344 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5409, allocations: 8 kB / 0.7344 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.5409, allocations: 7.938 kB / 0.7344 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.541, allocations: 0 / 0.7344 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.5414, allocations: 340.9 kB / 0.7347 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5415, allocations: 116.7 kB / 0.7348 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.5415, allocations: 11.98 kB / 0.7348 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5417, allocations: 25.42 kB / 0.7348 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.5418, allocations: 7.984 kB / 0.7349 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5418, allocations: 11.94 kB / 0.7349 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001999/0.542, allocations: 223.1 kB / 0.7351 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.542, allocations: 0 / 0.7351 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003657/0.5424, allocations: 79.83 kB / 0.7352 GB, free: 14.8 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.0009639/0.5433, allocations: 0.9235 MB / 0.7361 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.5437, allocations: 155.8 kB / 0.7362 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5438, allocations: 7.938 kB / 0.7362 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.544, allocations: 92.5 kB / 0.7363 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.5447, allocations: 144.6 kB / 0.7364 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.548, allocations: 2.895 MB / 0.7393 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.5483, allocations: 0.7833 MB / 0.74 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.5486, allocations: 62.92 kB / 0.7401 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.5487, allocations: 95.41 kB / 0.7402 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5487, allocations: 0 / 0.7402 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.5675, allocations: 7.86 MB / 0.7479 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.5678, allocations: 234.4 kB / 0.7481 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.341, allocations: 3.938 kB / 0.7481 GB, free: 1.523 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)