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.001093/0.001093, allocations: 101.9 kB / 16.4 MB, free: 6.492 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.00116/0.00116, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7618/0.7618, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.2 kB / 0.5679 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1293, allocations: 77.92 MB / 0.644 GB, free: 9.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4644/0.5937, allocations: 115.1 MB / 0.7565 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0369/0.6306, allocations: 26.57 MB / 0.7824 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005617/0.6363, allocations: 113 kB / 0.7825 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003546/0.6399, allocations: 1.172 MB / 0.7837 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.6503, allocations: 3.591 MB / 0.7872 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006385/0.6567, allocations: 2.372 MB / 0.7895 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007458/0.6642, allocations: 6.202 MB / 0.7956 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.6672, allocations: 1.927 MB / 0.7975 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00587/0.673, allocations: 2.7 MB / 0.8001 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003081/0.6761, allocations: 1.767 MB / 0.8018 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007654/0.6769, allocations: 225 kB / 0.802 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006056/0.683, allocations: 2.35 MB / 0.8043 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.684, allocations: 0.5266 MB / 0.8048 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003541/0.6876, allocations: 1.288 MB / 0.8061 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01/0.6976, allocations: 4.119 MB / 0.8101 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6976, allocations: 0 / 0.8101 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6977, allocations: 0 / 0.8101 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001414/0.6978, allocations: 0 / 0.8101 GB, free: 0.5625 MB / 0.5762 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.007827/0.7056, allocations: 2.922 MB / 0.813 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.7057, allocations: 9.312 kB / 0.813 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004272/0.7061, allocations: 199.8 kB / 0.8132 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.7073, allocations: 273.2 kB / 0.8134 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.7125, allocations: 2.156 MB / 0.8155 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.7126, allocations: 103.7 kB / 0.8156 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.7129, allocations: 134.2 kB / 0.8158 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.7159, allocations: 1.454 MB / 0.8172 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.716, allocations: 6.766 kB / 0.8172 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.7161, allocations: 62.66 kB / 0.8172 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/0.7162, allocations: 37.17 kB / 0.8173 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.7183, allocations: 1.025 MB / 0.8183 GB, free: 11.01 MB / 0.5919 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.009403/0.7277, allocations: 8.133 MB / 0.8262 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.7293, allocations: 0.8418 MB / 0.8271 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.7299, allocations: 381 kB / 0.8274 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002038/0.7319, allocations: 2.809 MB / 0.8302 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.7319, allocations: 38.52 kB / 0.8302 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.645e-06/0.732, allocations: 2.469 kB / 0.8302 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002334/0.7343, allocations: 1.134 MB / 0.8313 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.7344, allocations: 58.78 kB / 0.8314 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.737, allocations: 1.636 MB / 0.833 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.7371, allocations: 45.7 kB / 0.833 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008237/0.738, allocations: 0.9406 MB / 0.8339 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.7383, allocations: 325.8 kB / 0.8342 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.7386, allocations: 230.8 kB / 0.8344 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7388, allocations: 349.9 kB / 0.8348 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/0.7394, allocations: 329.9 kB / 0.8351 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.7402, allocations: 0.7032 MB / 0.8358 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7418, allocations: 1.085 MB / 0.8368 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.7418, allocations: 7.984 kB / 0.8369 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002458/0.7443, allocations: 1.258 MB / 0.8381 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.7443, allocations: 12 kB / 0.8381 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/0.7444, allocations: 20.11 kB / 0.8381 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.7444, allocations: 20 kB / 0.8381 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/0.7453, allocations: 255.6 kB / 0.8384 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.115e-05/0.7453, allocations: 29.19 kB / 0.8384 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.7467, allocations: 147 kB / 0.8385 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7468, allocations: 63.98 kB / 0.8386 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001103/0.7479, allocations: 0.6197 MB / 0.8392 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008557/0.7488, allocations: 0.7111 MB / 0.8399 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001556/0.7504, allocations: 1.069 MB / 0.8409 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.676e-06/0.7504, allocations: 4 kB / 0.841 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002368/0.7527, allocations: 1.258 MB / 0.8422 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7528, allocations: 12 kB / 0.8422 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/0.7528, allocations: 16 kB / 0.8422 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7528, allocations: 16 kB / 0.8422 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/0.7537, allocations: 255.6 kB / 0.8425 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.7537, allocations: 23.92 kB / 0.8425 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.7549, allocations: 103.7 kB / 0.8426 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.755, allocations: 79.84 kB / 0.8427 GB, free: 2.887 MB / 0.6075 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.0003018/0.7553, allocations: 251.9 kB / 0.8429 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/0.7558, allocations: 198.7 kB / 0.8431 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.759, allocations: 1.741 MB / 0.8448 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.759, allocations: 23.97 kB / 0.8448 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.759, allocations: 0 / 0.8448 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/0.7608, allocations: 1.147 MB / 0.8459 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005958/0.7668, allocations: 3.492 MB / 0.8493 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/0.7668, allocations: 8.125 kB / 0.8494 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.7675, allocations: 207.7 kB / 0.8496 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/0.7676, allocations: 12 kB / 0.8496 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.7677, allocations: 43.97 kB / 0.8496 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/0.7677, allocations: 11.94 kB / 0.8496 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.7677, allocations: 15.88 kB / 0.8496 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/0.771, allocations: 2.24 MB / 0.8518 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/0.772, allocations: 451.2 kB / 0.8523 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/0.7724, allocations: 31.98 kB / 0.8523 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.7735, allocations: 47.88 kB / 0.8523 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.7737, allocations: 120.7 kB / 0.8524 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.7739, allocations: 59.97 kB / 0.8525 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001813/0.7757, allocations: 1.091 MB / 0.8536 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7757, allocations: 0 / 0.8536 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003355/0.7791, allocations: 1.138 MB / 0.8547 GB, free: 6.293 MB / 0.6231 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.005112/0.7842, allocations: 3.493 MB / 0.8581 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.7872, allocations: 1.813 MB / 0.8599 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.7872, allocations: 8.125 kB / 0.8599 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.7884, allocations: 0.8221 MB / 0.8607 GB, free: 88 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/0.7929, allocations: 0.9597 MB / 0.8616 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.8116, allocations: 12.54 MB / 0.8739 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.8128, allocations: 1.443 MB / 0.8753 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001841/0.8146, allocations: 0.5387 MB / 0.8758 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.8157, allocations: 0.8468 MB / 0.8766 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.013e-06/0.8157, allocations: 0 / 0.8766 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09826/0.914, allocations: 58.75 MB / 0.934 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.63, allocations: 2.812 kB / 0.934 GB, free: 4.988 MB / 0.7012 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)