Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",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.0007394/0.0007447, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007677/0.0007679, allocations: 172.4 kB / 16.58 MB, free: 6.848 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.204/1.204, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6074/0.6074, allocations: 113.7 MB / 405.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 13.09 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.3262/0.455, allocations: 106.3 MB / 0.6607 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03094/0.486, allocations: 24.9 MB / 0.685 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004358/0.4904, allocations: 99.38 kB / 0.6851 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.4932, allocations: 0.7839 MB / 0.6859 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007285/0.5005, allocations: 2.729 MB / 0.6886 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004655/0.5051, allocations: 1.673 MB / 0.6902 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008231/0.5134, allocations: 7.015 MB / 0.6971 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.5156, allocations: 1.414 MB / 0.6984 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004156/0.5198, allocations: 2.131 MB / 0.7005 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.522, allocations: 1.622 MB / 0.7021 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.5222, allocations: 92 kB / 0.7022 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.5258, allocations: 1.563 MB / 0.7037 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.5262, allocations: 390.1 kB / 0.7041 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.5268, allocations: 484.6 kB / 0.7046 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.5298, allocations: 2.864 MB / 0.7073 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5298, allocations: 0 / 0.7073 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5298, allocations: 0 / 0.7073 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.5298, allocations: 0 / 0.7073 GB, free: 0.5078 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004195/0.534, allocations: 2.456 MB / 0.7097 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5341, allocations: 8.031 kB / 0.7098 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.5343, allocations: 194.6 kB / 0.7099 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.5347, allocations: 257.1 kB / 0.7102 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.5382, allocations: 2.034 MB / 0.7122 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.5383, allocations: 102.7 kB / 0.7123 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.5385, allocations: 140 kB / 0.7124 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.5407, allocations: 1.446 MB / 0.7138 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.5407, allocations: 0 / 0.7138 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.5409, allocations: 63.94 kB / 0.7139 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/0.5409, allocations: 36 kB / 0.7139 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.5426, allocations: 1.033 MB / 0.7149 GB, free: 8.551 MB / 0.5294 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.007503/0.5501, allocations: 8.128 MB / 0.7229 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.5514, allocations: 0.8367 MB / 0.7237 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.552, allocations: 381.3 kB / 0.724 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.5539, allocations: 2.811 MB / 0.7268 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5539, allocations: 43.22 kB / 0.7268 GB, free: 10.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 2.575e-06/0.5539, allocations: 0 / 0.7268 GB, free: 10.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.001919/0.5559, allocations: 1.136 MB / 0.7279 GB, free: 9.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.5559, allocations: 60.06 kB / 0.728 GB, free: 9.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.5578, allocations: 1.586 MB / 0.7295 GB, free: 8.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.5578, allocations: 49.58 kB / 0.7296 GB, free: 8.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/0.5585, allocations: 0.9315 MB / 0.7305 GB, free: 7.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.5587, allocations: 307.6 kB / 0.7308 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.5588, allocations: 24 kB / 0.7308 GB, free: 6.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5589, allocations: 353.9 kB / 0.7312 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.5595, allocations: 318.4 kB / 0.7315 GB, free: 6.164 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.5602, allocations: 0.7033 MB / 0.7321 GB, free: 5.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.5609, allocations: 446.7 kB / 0.7326 GB, free: 4.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5609, allocations: 4 kB / 0.7326 GB, free: 4.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001882/0.5628, allocations: 1.249 MB / 0.7338 GB, free: 3.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.563, allocations: 432.7 kB / 0.7342 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.5631, allocations: 19.98 kB / 0.7342 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.5631, allocations: 20 kB / 0.7342 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.5639, allocations: 263.5 kB / 0.7345 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.5639, allocations: 24.64 kB / 0.7345 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5649, allocations: 186.6 kB / 0.7347 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.5651, allocations: 71.92 kB / 0.7348 GB, free: 2.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.5651, allocations: 4 kB / 0.7348 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/0.5667, allocations: 1.054 MB / 0.7358 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.5667, allocations: 19.98 kB / 0.7358 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.5667, allocations: 20 kB / 0.7358 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/0.5675, allocations: 256.1 kB / 0.7361 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.5675, allocations: 35.94 kB / 0.7361 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000919/0.5684, allocations: 162.9 kB / 0.7363 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.15e-05/0.5685, allocations: 67.97 kB / 0.7363 GB, free: 0.8203 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006613/0.5692, allocations: 473.4 kB / 0.7368 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.5694, allocations: 193.7 kB / 0.737 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.5721, allocations: 1.749 MB / 0.7387 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.5722, allocations: 19.98 kB / 0.7387 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5722, allocations: 0 / 0.7387 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/0.5737, allocations: 1.146 MB / 0.7398 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.5783, allocations: 3.471 MB / 0.7432 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.5783, allocations: 15.98 kB / 0.7432 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.579, allocations: 211.6 kB / 0.7434 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.579, allocations: 12 kB / 0.7434 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/0.5791, allocations: 43.92 kB / 0.7435 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/0.5791, allocations: 20.23 kB / 0.7435 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5791, allocations: 7.938 kB / 0.7435 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.5818, allocations: 2.23 MB / 0.7457 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006043/0.5825, allocations: 481.9 kB / 0.7461 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.5827, allocations: 28 kB / 0.7462 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.5835, allocations: 91.92 kB / 0.7463 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5837, allocations: 120.7 kB / 0.7464 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/0.5838, allocations: 59.97 kB / 0.7464 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001332/0.5851, allocations: 1.06 MB / 0.7475 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5851, allocations: 0 / 0.7475 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002482/0.5876, allocations: 1.123 MB / 0.7486 GB, free: 3.953 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004159/0.5918, allocations: 3.435 MB / 0.7519 GB, free: 424 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002675/0.5945, allocations: 1.797 MB / 0.7537 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.5945, allocations: 4 kB / 0.7537 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5956, allocations: 0.8252 MB / 0.7545 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/0.5994, allocations: 0.9336 MB / 0.7554 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.6168, allocations: 11.47 MB / 0.7666 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/0.6178, allocations: 1.44 MB / 0.768 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001877/0.6197, allocations: 0.5388 MB / 0.7685 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009755/0.6207, allocations: 0.8506 MB / 0.7694 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/0.6207, allocations: 4 kB / 0.7694 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/0.7054, allocations: 58.65 MB / 0.8266 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.7056, allocations: 226.1 kB / 0.8268 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/3.629, allocations: 2.953 kB / 0.8268 GB, free: 3.277 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) Environment - environmentSimulation: