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.005089/0.005089, allocations: 103 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.001223/0.001223, allocations: 200.4 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.229/1.229, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6226/0.6226, allocations: 115.3 MB / 405.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 62.48 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 76.18 MB / 0.5558 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.313/0.4382, allocations: 114.4 MB / 0.6676 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0315/0.4698, allocations: 26.67 MB / 0.6936 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/0.4737, allocations: 103.4 kB / 0.6937 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.4768, allocations: 0.9401 MB / 0.6946 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008085/0.4849, allocations: 3.158 MB / 0.6977 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005192/0.4901, allocations: 2.087 MB / 0.6997 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008678/0.4988, allocations: 8.147 MB / 0.7077 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/0.5011, allocations: 1.595 MB / 0.7093 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004246/0.5054, allocations: 2.306 MB / 0.7115 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.5074, allocations: 1.769 MB / 0.7132 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.5076, allocations: 112 kB / 0.7133 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/0.5117, allocations: 2.148 MB / 0.7154 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.5121, allocations: 437.9 kB / 0.7159 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.5132, allocations: 1.178 MB / 0.717 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.5175, allocations: 4 MB / 0.7209 GB, free: 15.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5175, allocations: 4 kB / 0.7209 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5175, allocations: 4 kB / 0.7209 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.5176, allocations: 0 / 0.7209 GB, free: 15.07 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004685/0.5222, allocations: 2.834 MB / 0.7237 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5223, allocations: 15.97 kB / 0.7237 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.5225, allocations: 202.5 kB / 0.7239 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.5231, allocations: 265 kB / 0.7241 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.5266, allocations: 2.095 MB / 0.7262 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.5267, allocations: 102.7 kB / 0.7263 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.5269, allocations: 132 kB / 0.7264 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.5291, allocations: 1.454 MB / 0.7278 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.5291, allocations: 11.94 kB / 0.7279 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.5292, allocations: 56 kB / 0.7279 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.5293, allocations: 32 kB / 0.7279 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.531, allocations: 1.029 MB / 0.7289 GB, free: 6.648 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.008763/0.5397, allocations: 8.12 MB / 0.7369 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.5413, allocations: 0.8406 MB / 0.7377 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.5419, allocations: 373.4 kB / 0.738 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/0.5441, allocations: 2.807 MB / 0.7408 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.5442, allocations: 43.22 kB / 0.7408 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 3.506e-06/0.5442, allocations: 0 / 0.7408 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.002582/0.5468, allocations: 1.124 MB / 0.7419 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.5468, allocations: 67.98 kB / 0.742 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.549, allocations: 1.606 MB / 0.7436 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.5491, allocations: 41.7 kB / 0.7436 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.5498, allocations: 0.9277 MB / 0.7445 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.5502, allocations: 307.5 kB / 0.7448 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.5505, allocations: 234.7 kB / 0.745 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5507, allocations: 349.9 kB / 0.7454 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.5512, allocations: 321.9 kB / 0.7457 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008307/0.5521, allocations: 0.7072 MB / 0.7464 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.5535, allocations: 1.086 MB / 0.7474 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5536, allocations: 4 kB / 0.7474 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002175/0.5557, allocations: 1.253 MB / 0.7486 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5558, allocations: 8 kB / 0.7486 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.5558, allocations: 19.98 kB / 0.7487 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.5558, allocations: 20 kB / 0.7487 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/0.5567, allocations: 264.1 kB / 0.7489 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/0.5567, allocations: 35.73 kB / 0.749 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.5579, allocations: 182.6 kB / 0.7491 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.558, allocations: 67.97 kB / 0.7492 GB, free: 92 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.559, allocations: 0.6158 MB / 0.7498 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008102/0.5598, allocations: 0.7072 MB / 0.7505 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001505/0.5613, allocations: 1.073 MB / 0.7516 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/0.5614, allocations: 4 kB / 0.7516 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002089/0.5635, allocations: 1.245 MB / 0.7528 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5635, allocations: 14.03 kB / 0.7528 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.5635, allocations: 19.98 kB / 0.7528 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5635, allocations: 16 kB / 0.7528 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.5643, allocations: 259.5 kB / 0.7531 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.5643, allocations: 24.03 kB / 0.7531 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.5654, allocations: 155.3 kB / 0.7532 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.5656, allocations: 63.97 kB / 0.7533 GB, free: 11.56 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003171/0.5659, allocations: 253.4 kB / 0.7535 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.5662, allocations: 189.8 kB / 0.7537 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.5692, allocations: 1.744 MB / 0.7554 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.5693, allocations: 19.98 kB / 0.7554 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5693, allocations: 3.938 kB / 0.7554 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001617/0.5709, allocations: 1.15 MB / 0.7566 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.5761, allocations: 3.467 MB / 0.76 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/0.5761, allocations: 12.08 kB / 0.76 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/0.5768, allocations: 203.7 kB / 0.7602 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.5768, allocations: 8 kB / 0.7602 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/0.5769, allocations: 43.97 kB / 0.7602 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.5769, allocations: 15.94 kB / 0.7602 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.577, allocations: 11.94 kB / 0.7602 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.58, allocations: 2.242 MB / 0.7624 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.5806, allocations: 434.1 kB / 0.7628 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.5809, allocations: 35.98 kB / 0.7629 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009236/0.5818, allocations: 91.77 kB / 0.763 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.582, allocations: 128.6 kB / 0.7631 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.5821, allocations: 56.09 kB / 0.7631 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00142/0.5835, allocations: 1.079 MB / 0.7642 GB, free: 52 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5835, allocations: 4 kB / 0.7642 GB, free: 48 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002708/0.5862, allocations: 1.127 MB / 0.7653 GB, free: 14.92 MB / 0.5919 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 (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.004469/0.5907, allocations: 3.452 MB / 0.7687 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.5933, allocations: 1.805 MB / 0.7704 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5933, allocations: 0 / 0.7704 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.5944, allocations: 0.8183 MB / 0.7712 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.5979, allocations: 0.9269 MB / 0.7721 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.6174, allocations: 14.5 MB / 0.7863 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/0.6182, allocations: 1.436 MB / 0.7877 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001605/0.6199, allocations: 0.5271 MB / 0.7882 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/0.6208, allocations: 0.8467 MB / 0.789 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6208, allocations: 0 / 0.789 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8735/1.494, allocations: 56.26 MB / 0.844 GB, free: 222.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.494, allocations: 246.2 kB / 0.8442 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/4.92, allocations: 3.5 kB / 0.8442 GB, free: 222.3 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/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)