Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_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.007798/0.007798, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001987/0.001987, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8012/0.8012, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 63.38 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 80.92 MB / 0.6642 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.434/0.5612, allocations: 115.1 MB / 0.7766 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03073/0.5919, allocations: 26.52 MB / 0.8025 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00445/0.5964, allocations: 114.5 kB / 0.8026 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.5992, allocations: 1.172 MB / 0.8037 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009221/0.6085, allocations: 3.586 MB / 0.8072 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005818/0.6143, allocations: 2.368 MB / 0.8096 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007277/0.6216, allocations: 6.212 MB / 0.8156 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.6241, allocations: 1.93 MB / 0.8175 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005572/0.6297, allocations: 2.699 MB / 0.8201 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.6321, allocations: 1.776 MB / 0.8219 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.6324, allocations: 220.1 kB / 0.8221 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004954/0.6374, allocations: 2.335 MB / 0.8244 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.6379, allocations: 0.5321 MB / 0.8249 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.6393, allocations: 1.284 MB / 0.8261 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005792/0.6451, allocations: 4.13 MB / 0.8302 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6451, allocations: 0 / 0.8302 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6451, allocations: 0 / 0.8302 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.815e-05/0.6451, allocations: 0 / 0.8302 GB, free: 6.496 MB / 0.5919 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.005395/0.6505, allocations: 2.931 MB / 0.833 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6506, allocations: 9.922 kB / 0.833 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/0.6508, allocations: 195.5 kB / 0.8332 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006384/0.6515, allocations: 270.1 kB / 0.8335 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.6557, allocations: 2.154 MB / 0.8356 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.6558, allocations: 101 kB / 0.8357 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.656, allocations: 138.6 kB / 0.8358 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.6584, allocations: 1.458 MB / 0.8372 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.6585, allocations: 0 / 0.8372 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.6586, allocations: 60 kB / 0.8373 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.544e-05/0.6587, allocations: 32 kB / 0.8373 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.6606, allocations: 1.029 MB / 0.8383 GB, free: 15.72 MB / 0.6075 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.00891/0.6695, allocations: 8.145 MB / 0.8463 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.6711, allocations: 0.8372 MB / 0.8471 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.6717, allocations: 380.7 kB / 0.8475 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/0.6739, allocations: 2.803 MB / 0.8502 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.6739, allocations: 47.22 kB / 0.8503 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.166e-06/0.6739, allocations: 0 / 0.8503 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002446/0.6764, allocations: 1.129 MB / 0.8514 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.6764, allocations: 64 kB / 0.8514 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.6786, allocations: 1.621 MB / 0.853 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/0.6787, allocations: 41.7 kB / 0.853 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/0.6795, allocations: 0.9535 MB / 0.854 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.6798, allocations: 325.2 kB / 0.8543 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.6801, allocations: 234.7 kB / 0.8545 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6803, allocations: 349.9 kB / 0.8548 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.6809, allocations: 325.9 kB / 0.8552 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009469/0.6818, allocations: 0.7072 MB / 0.8558 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.6834, allocations: 1.085 MB / 0.8569 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6834, allocations: 4 kB / 0.8569 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002343/0.6858, allocations: 1.262 MB / 0.8581 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6858, allocations: 8 kB / 0.8581 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.6859, allocations: 16 kB / 0.8582 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.6859, allocations: 23.98 kB / 0.8582 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/0.6868, allocations: 268.2 kB / 0.8584 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.6868, allocations: 19.94 kB / 0.8585 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.688, allocations: 135.1 kB / 0.8586 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.6881, allocations: 63.92 kB / 0.8586 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001136/0.6893, allocations: 0.6275 MB / 0.8593 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008929/0.6902, allocations: 0.6994 MB / 0.8599 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001561/0.6917, allocations: 1.081 MB / 0.861 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.702e-06/0.6918, allocations: 4 kB / 0.861 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002277/0.694, allocations: 1.254 MB / 0.8622 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6941, allocations: 12 kB / 0.8622 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.6941, allocations: 16.05 kB / 0.8623 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6941, allocations: 24 kB / 0.8623 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.695, allocations: 255.6 kB / 0.8625 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.695, allocations: 27.86 kB / 0.8625 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6961, allocations: 103.4 kB / 0.8626 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.6962, allocations: 64.12 kB / 0.8627 GB, free: 4.672 MB / 0.6231 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.0003062/0.6965, allocations: 259.8 kB / 0.863 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.6969, allocations: 198.7 kB / 0.8631 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.7, allocations: 1.74 MB / 0.8648 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/0.7, allocations: 23.92 kB / 0.8649 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7, allocations: 0 / 0.8649 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001776/0.7018, allocations: 1.142 MB / 0.866 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.7072, allocations: 3.49 MB / 0.8694 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.7072, allocations: 12 kB / 0.8694 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007556/0.708, allocations: 200.5 kB / 0.8696 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.708, allocations: 19.94 kB / 0.8696 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.7081, allocations: 47.92 kB / 0.8697 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.7081, allocations: 19.92 kB / 0.8697 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.7081, allocations: 15.88 kB / 0.8697 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.7114, allocations: 2.227 MB / 0.8719 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007829/0.7122, allocations: 451.2 kB / 0.8723 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.7126, allocations: 32 kB / 0.8723 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.7136, allocations: 47.97 kB / 0.8724 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.7138, allocations: 120.6 kB / 0.8725 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.7139, allocations: 59.97 kB / 0.8725 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001641/0.7156, allocations: 1.087 MB / 0.8736 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7156, allocations: 0 / 0.8736 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00305/0.7186, allocations: 1.154 MB / 0.8747 GB, free: 7.984 MB / 0.6387 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.005209/0.7238, allocations: 3.482 MB / 0.8781 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003052/0.7269, allocations: 1.809 MB / 0.8799 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7269, allocations: 0 / 0.8799 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.7282, allocations: 0.8254 MB / 0.8807 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00439/0.7326, allocations: 0.9711 MB / 0.8817 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.752, allocations: 12.54 MB / 0.8939 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.7533, allocations: 1.438 MB / 0.8953 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002205/0.7555, allocations: 0.5426 MB / 0.8958 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.7568, allocations: 0.8468 MB / 0.8967 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of SimCode: time 1.283e-06/0.7568, allocations: 0 / 0.8967 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.8572, allocations: 58.75 MB / 0.954 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.65, allocations: 5.938 kB / 0.954 GB, free: 6.457 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)