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.001081/0.001081, allocations: 106.1 kB / 16.27 MB, free: 6.055 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.001079/0.001079, allocations: 188.4 kB / 17.2 MB, free: 5.684 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.271/1.271, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.91 kB / 0.4912 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3007, allocations: 77.93 MB / 0.5673 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09607/0.3968, allocations: 115.2 MB / 0.6797 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03372/0.4305, allocations: 26.54 MB / 0.7057 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.4344, allocations: 115.4 kB / 0.7058 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.4376, allocations: 1.153 MB / 0.7069 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008795/0.4465, allocations: 3.42 MB / 0.7102 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005428/0.4519, allocations: 2.341 MB / 0.7125 GB, free: 5.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006551/0.4585, allocations: 6.189 MB / 0.7186 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.4611, allocations: 1.937 MB / 0.7205 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005035/0.4661, allocations: 2.636 MB / 0.723 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.4687, allocations: 1.766 MB / 0.7248 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.4693, allocations: 220 kB / 0.725 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/0.474, allocations: 2.34 MB / 0.7272 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006745/0.4747, allocations: 0.5332 MB / 0.7278 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.4766, allocations: 1.283 MB / 0.729 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.4826, allocations: 4.07 MB / 0.733 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4827, allocations: 0 / 0.733 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4827, allocations: 0 / 0.733 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.412e-05/0.4827, allocations: 0 / 0.733 GB, free: 0.6758 MB / 0.5606 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.005749/0.4885, allocations: 2.835 MB / 0.7358 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4885, allocations: 12.62 kB / 0.7358 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002667/0.4888, allocations: 194.6 kB / 0.736 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007102/0.4895, allocations: 257.1 kB / 0.7362 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.4934, allocations: 2.068 MB / 0.7382 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/0.4934, allocations: 102.7 kB / 0.7383 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.4936, allocations: 135.9 kB / 0.7385 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.4959, allocations: 1.454 MB / 0.7399 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.496, allocations: 3.938 kB / 0.7399 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.4961, allocations: 59.98 kB / 0.7399 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.4961, allocations: 40 kB / 0.74 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.4979, allocations: 1.021 MB / 0.741 GB, free: 8.301 MB / 0.5762 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.2343/0.7323, allocations: 8.176 MB / 0.749 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.734, allocations: 0.8386 MB / 0.7498 GB, free: 164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.7346, allocations: 379.6 kB / 0.7501 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.736, allocations: 2.807 MB / 0.7529 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.7361, allocations: 43.83 kB / 0.7529 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.975e-06/0.7361, allocations: 0.7188 kB / 0.7529 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002507/0.7386, allocations: 1.126 MB / 0.754 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.7386, allocations: 66.97 kB / 0.7541 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.7409, allocations: 1.623 MB / 0.7557 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.741, allocations: 45.8 kB / 0.7557 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.7416, allocations: 0.9312 MB / 0.7566 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.7418, allocations: 303.3 kB / 0.7569 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.7421, allocations: 233.6 kB / 0.7571 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.7422, allocations: 350.6 kB / 0.7575 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.7429, allocations: 325 kB / 0.7578 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.7438, allocations: 0.7063 MB / 0.7585 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.7451, allocations: 1.084 MB / 0.7595 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7452, allocations: 3.719 kB / 0.7595 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002064/0.7472, allocations: 1.251 MB / 0.7607 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7473, allocations: 12.23 kB / 0.7608 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.7473, allocations: 17.25 kB / 0.7608 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.7473, allocations: 21.44 kB / 0.7608 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.7481, allocations: 256.8 kB / 0.761 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.7482, allocations: 26.84 kB / 0.7611 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.7492, allocations: 139.7 kB / 0.7612 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.7493, allocations: 66.06 kB / 0.7613 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009682/0.7503, allocations: 0.6241 MB / 0.7619 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007488/0.751, allocations: 0.7046 MB / 0.7626 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001333/0.7524, allocations: 1.078 MB / 0.7636 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.813e-06/0.7524, allocations: 3.156 kB / 0.7636 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002069/0.7545, allocations: 1.247 MB / 0.7648 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7545, allocations: 10.62 kB / 0.7648 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.7545, allocations: 17.73 kB / 0.7649 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7545, allocations: 16.47 kB / 0.7649 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.7553, allocations: 259.7 kB / 0.7651 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.7553, allocations: 25.31 kB / 0.7652 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/0.7563, allocations: 111.1 kB / 0.7653 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.7564, allocations: 63.64 kB / 0.7653 GB, free: 154.1 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.0002628/0.7567, allocations: 256.2 kB / 0.7656 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.757, allocations: 193.4 kB / 0.7657 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.76, allocations: 1.74 MB / 0.7674 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.76, allocations: 25.42 kB / 0.7675 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.76, allocations: 1.375 kB / 0.7675 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00163/0.7617, allocations: 1.14 MB / 0.7686 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.7666, allocations: 3.482 MB / 0.772 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/0.7666, allocations: 15.8 kB / 0.772 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.7673, allocations: 199.8 kB / 0.7722 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.7673, allocations: 10.91 kB / 0.7722 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.7674, allocations: 42.72 kB / 0.7722 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.7674, allocations: 23.09 kB / 0.7723 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.7674, allocations: 11.28 kB / 0.7723 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.7703, allocations: 2.22 MB / 0.7744 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.7709, allocations: 442.1 kB / 0.7749 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.7711, allocations: 29.06 kB / 0.7749 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.7719, allocations: 56.62 kB / 0.7749 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.7721, allocations: 117.2 kB / 0.7751 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/0.7722, allocations: 62.41 kB / 0.7751 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001423/0.7737, allocations: 1.087 MB / 0.7762 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7737, allocations: 0 / 0.7762 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002697/0.7764, allocations: 1.132 MB / 0.7773 GB, free: 148.7 MB / 0.5762 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.003692/0.7801, allocations: 3.471 MB / 0.7807 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003152/0.7832, allocations: 1.896 MB / 0.7825 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7833, allocations: 7.906 kB / 0.7825 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009267/0.7842, allocations: 0.8155 MB / 0.7833 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/0.7879, allocations: 0.9696 MB / 0.7843 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.8015, allocations: 13.84 MB / 0.7978 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.8023, allocations: 1.428 MB / 0.7992 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001968/0.8043, allocations: 0.5388 MB / 0.7997 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/0.8051, allocations: 0.8506 MB / 0.8005 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.8051, allocations: 0 / 0.8005 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07455/0.8796, allocations: 58.4 MB / 0.8576 GB, free: 70.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/9.566, allocations: 15.84 kB / 0.8576 GB, free: 70.52 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)