Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 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.001265/0.001265, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7422/0.7422, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 61.09 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3224, allocations: 80.21 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1014/0.4238, allocations: 115.2 MB / 0.6926 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03202/0.4559, allocations: 26.52 MB / 0.7185 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.4592, allocations: 115.4 kB / 0.7187 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.4623, allocations: 1.149 MB / 0.7198 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008186/0.4705, allocations: 3.423 MB / 0.7231 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.476, allocations: 2.327 MB / 0.7254 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00717/0.4832, allocations: 6.175 MB / 0.7314 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.486, allocations: 1.921 MB / 0.7333 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/0.4912, allocations: 2.65 MB / 0.7359 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.4935, allocations: 1.774 MB / 0.7376 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003853/0.4939, allocations: 220 kB / 0.7378 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004341/0.4982, allocations: 2.336 MB / 0.7401 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004772/0.4987, allocations: 0.537 MB / 0.7406 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.4999, allocations: 1.287 MB / 0.7419 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.5046, allocations: 4.07 MB / 0.7459 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5047, allocations: 0 / 0.7459 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5047, allocations: 0 / 0.7459 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.293e-05/0.5047, allocations: 4 kB / 0.7459 GB, free: 7.406 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.005028/0.5097, allocations: 2.826 MB / 0.7486 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.5098, allocations: 12.03 kB / 0.7486 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.5101, allocations: 198.6 kB / 0.7488 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.5107, allocations: 257.1 kB / 0.7491 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.5143, allocations: 2.064 MB / 0.7511 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.5145, allocations: 106.7 kB / 0.7512 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.5147, allocations: 143.8 kB / 0.7513 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.5169, allocations: 1.454 MB / 0.7527 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.517, allocations: 7.922 kB / 0.7528 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5171, allocations: 52 kB / 0.7528 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.5172, allocations: 40 kB / 0.7528 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.519, allocations: 1.021 MB / 0.7538 GB, free: 15.03 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.008091/0.5271, allocations: 8.182 MB / 0.7618 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.5287, allocations: 0.8367 MB / 0.7626 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.5293, allocations: 373.9 kB / 0.763 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/0.5313, allocations: 2.803 MB / 0.7657 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.5313, allocations: 43.22 kB / 0.7658 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.935e-06/0.5314, allocations: 0 / 0.7658 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002293/0.5337, allocations: 1.14 MB / 0.7669 GB, free: 308 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.5337, allocations: 60.06 kB / 0.767 GB, free: 236 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.5357, allocations: 1.617 MB / 0.7685 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.5358, allocations: 45.7 kB / 0.7686 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006989/0.5365, allocations: 0.9315 MB / 0.7695 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.5368, allocations: 299.6 kB / 0.7698 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.5371, allocations: 238.6 kB / 0.77 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5372, allocations: 353.9 kB / 0.7703 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.5378, allocations: 321.9 kB / 0.7706 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/0.5387, allocations: 0.711 MB / 0.7713 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.5403, allocations: 1.085 MB / 0.7724 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5403, allocations: 4 kB / 0.7724 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002235/0.5425, allocations: 1.249 MB / 0.7736 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5426, allocations: 8 kB / 0.7736 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.5426, allocations: 19.94 kB / 0.7736 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.5426, allocations: 20 kB / 0.7737 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.5435, allocations: 260 kB / 0.7739 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.5435, allocations: 28.69 kB / 0.7739 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009725/0.5445, allocations: 134.6 kB / 0.7741 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.5446, allocations: 63.97 kB / 0.7741 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.5457, allocations: 0.6197 MB / 0.7747 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008686/0.5465, allocations: 0.7111 MB / 0.7754 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00151/0.5481, allocations: 1.081 MB / 0.7765 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.5481, allocations: 7.938 kB / 0.7765 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002108/0.5502, allocations: 1.241 MB / 0.7777 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5502, allocations: 12 kB / 0.7777 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.5502, allocations: 15.98 kB / 0.7777 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.5503, allocations: 24.59 kB / 0.7778 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.5511, allocations: 263.5 kB / 0.778 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.5512, allocations: 19.94 kB / 0.778 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009211/0.5521, allocations: 103.2 kB / 0.7781 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.5522, allocations: 59.98 kB / 0.7782 GB, free: 3.973 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.0002376/0.5525, allocations: 251.9 kB / 0.7784 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.5528, allocations: 193.7 kB / 0.7786 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/0.5558, allocations: 1.752 MB / 0.7803 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.5559, allocations: 15.98 kB / 0.7803 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5559, allocations: 0 / 0.7803 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00172/0.5576, allocations: 1.15 MB / 0.7815 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/0.5626, allocations: 3.479 MB / 0.7849 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.5626, allocations: 20.11 kB / 0.7849 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/0.5633, allocations: 199.7 kB / 0.7851 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.5634, allocations: 12 kB / 0.7851 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.246e-05/0.5634, allocations: 43.97 kB / 0.7851 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.5634, allocations: 11.94 kB / 0.7851 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5635, allocations: 11.94 kB / 0.7851 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.5666, allocations: 2.23 MB / 0.7873 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.5672, allocations: 438.1 kB / 0.7877 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.5674, allocations: 31.98 kB / 0.7878 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008301/0.5682, allocations: 47.91 kB / 0.7878 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5684, allocations: 116.7 kB / 0.7879 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5685, allocations: 63.97 kB / 0.788 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001407/0.5699, allocations: 1.083 MB / 0.789 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.57, allocations: 0 / 0.789 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002543/0.5725, allocations: 1.135 MB / 0.7901 GB, free: 7.379 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.004581/0.5771, allocations: 3.47 MB / 0.7935 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.5806, allocations: 1.899 MB / 0.7954 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5807, allocations: 4.062 kB / 0.7954 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5818, allocations: 0.8221 MB / 0.7962 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/0.5858, allocations: 0.9657 MB / 0.7971 GB, free: 108 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.6026, allocations: 13.83 MB / 0.8106 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2085/0.8111, allocations: 1.428 MB / 0.812 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002096/0.8132, allocations: 0.5406 MB / 0.8126 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/0.8141, allocations: 0.8482 MB / 0.8134 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/0.8141, allocations: 0 / 0.8134 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07492/0.889, allocations: 58.39 MB / 0.8704 GB, free: 173.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/9.435, allocations: 5.609 kB / 0.8704 GB, free: 173.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)