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.001274/0.001274, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001209/0.001209, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.163/1.163, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6438/0.6438, allocations: 132.2 MB / 422.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 59.28 kB / 0.5013 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2841, allocations: 80.2 MB / 0.5797 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.08598/0.3701, allocations: 114.1 MB / 0.6911 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02757/0.3977, allocations: 26.35 MB / 0.7169 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003509/0.4013, allocations: 103.4 kB / 0.717 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.4036, allocations: 0.9831 MB / 0.7179 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006945/0.4105, allocations: 3.18 MB / 0.721 GB, free: 400 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.4153, allocations: 2.134 MB / 0.7231 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006127/0.4214, allocations: 6.206 MB / 0.7292 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.4233, allocations: 1.902 MB / 0.731 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.4274, allocations: 2.662 MB / 0.7336 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.429, allocations: 1.816 MB / 0.7354 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.4292, allocations: 220 kB / 0.7356 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.4327, allocations: 2.37 MB / 0.7379 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.4331, allocations: 0.5409 MB / 0.7385 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009393/0.4341, allocations: 1.287 MB / 0.7397 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.4377, allocations: 4.09 MB / 0.7437 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4377, allocations: 0 / 0.7437 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4377, allocations: 4 kB / 0.7437 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.4378, allocations: 0 / 0.7437 GB, free: 9.082 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.004163/0.4419, allocations: 2.83 MB / 0.7465 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.442, allocations: 11.97 kB / 0.7465 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.4422, allocations: 202.6 kB / 0.7467 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.4427, allocations: 257.1 kB / 0.7469 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.4458, allocations: 2.107 MB / 0.749 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.4458, allocations: 102.7 kB / 0.7491 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.446, allocations: 135.9 kB / 0.7492 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.4479, allocations: 1.454 MB / 0.7506 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.448, allocations: 0 / 0.7506 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.4481, allocations: 59.98 kB / 0.7507 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.4481, allocations: 40 kB / 0.7507 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.4497, allocations: 1.021 MB / 0.7517 GB, free: 0.668 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.006357/0.456, allocations: 8.12 MB / 0.7597 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.4573, allocations: 0.8367 MB / 0.7605 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.4578, allocations: 376.5 kB / 0.7608 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/0.4594, allocations: 2.807 MB / 0.7636 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4595, allocations: 43.22 kB / 0.7636 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.164e-06/0.4595, allocations: 0 / 0.7636 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.001833/0.4613, allocations: 1.128 MB / 0.7647 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4614, allocations: 68 kB / 0.7648 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.463, allocations: 1.602 MB / 0.7663 GB, free: 288 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.463, allocations: 41.7 kB / 0.7664 GB, free: 240 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/0.4636, allocations: 0.9276 MB / 0.7673 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.4638, allocations: 307.6 kB / 0.7676 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.4641, allocations: 234.6 kB / 0.7678 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.4642, allocations: 345.9 kB / 0.7681 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.4647, allocations: 333.9 kB / 0.7685 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.4654, allocations: 0.7072 MB / 0.7691 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.4667, allocations: 1.081 MB / 0.7702 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4667, allocations: 4 kB / 0.7702 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001778/0.4685, allocations: 1.253 MB / 0.7714 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4685, allocations: 8 kB / 0.7714 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.4685, allocations: 19.94 kB / 0.7715 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.4686, allocations: 16 kB / 0.7715 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.4693, allocations: 259.6 kB / 0.7717 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.4693, allocations: 27.86 kB / 0.7717 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.4703, allocations: 186.7 kB / 0.7719 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/0.4704, allocations: 63.97 kB / 0.772 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008529/0.4713, allocations: 0.6321 MB / 0.7726 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006999/0.472, allocations: 0.6916 MB / 0.7733 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/0.4732, allocations: 1.085 MB / 0.7743 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.4732, allocations: 4 kB / 0.7743 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001755/0.475, allocations: 1.245 MB / 0.7756 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.475, allocations: 11.98 kB / 0.7756 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.4751, allocations: 24.03 kB / 0.7756 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4751, allocations: 23.94 kB / 0.7756 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.4758, allocations: 259.5 kB / 0.7759 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.4758, allocations: 27.86 kB / 0.7759 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.4767, allocations: 147.2 kB / 0.776 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/0.4768, allocations: 63.97 kB / 0.7761 GB, free: 5.582 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.0001767/0.477, allocations: 248 kB / 0.7763 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.4772, allocations: 189.7 kB / 0.7765 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.4798, allocations: 1.744 MB / 0.7782 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.4798, allocations: 19.98 kB / 0.7782 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4798, allocations: 4 kB / 0.7782 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.4812, allocations: 1.138 MB / 0.7793 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.4854, allocations: 3.474 MB / 0.7827 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.4854, allocations: 12 kB / 0.7828 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.486, allocations: 196.5 kB / 0.7829 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.486, allocations: 16 kB / 0.783 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.4861, allocations: 47.98 kB / 0.783 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/0.4861, allocations: 24.02 kB / 0.783 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4861, allocations: 7.938 kB / 0.783 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.4888, allocations: 2.226 MB / 0.7852 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.4893, allocations: 434.2 kB / 0.7856 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.4895, allocations: 32 kB / 0.7856 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008661/0.4904, allocations: 107.7 kB / 0.7858 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.4906, allocations: 116.7 kB / 0.7859 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/0.4906, allocations: 59.97 kB / 0.7859 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001185/0.4918, allocations: 1.075 MB / 0.787 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4918, allocations: 0 / 0.787 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002242/0.4941, allocations: 1.135 MB / 0.7881 GB, free: 8.969 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.003924/0.498, allocations: 3.469 MB / 0.7915 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002975/0.501, allocations: 1.894 MB / 0.7933 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.501, allocations: 0.75 kB / 0.7933 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.502, allocations: 0.8209 MB / 0.7941 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/0.5054, allocations: 0.9717 MB / 0.7951 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.5235, allocations: 14.5 MB / 0.8092 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.5243, allocations: 1.432 MB / 0.8106 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.193/0.7173, allocations: 0.5342 MB / 0.8111 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.7186, allocations: 0.8463 MB / 0.812 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.7186, allocations: 2.812 kB / 0.812 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2987/1.017, allocations: 57.73 MB / 0.8684 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/1.018, allocations: 227.9 kB / 0.8686 GB, free: 174.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/4.338, allocations: 0 / 0.8686 GB, free: 174.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)