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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001206/0.001206, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7088/0.7088, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.09 kB / 0.5012 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1296, allocations: 80.2 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.2879/0.4175, allocations: 114.4 MB / 0.6912 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03145/0.449, allocations: 26.65 MB / 0.7172 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004277/0.4533, allocations: 104.2 kB / 0.7173 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.4564, allocations: 0.931 MB / 0.7182 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008891/0.4653, allocations: 3.157 MB / 0.7213 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005566/0.4708, allocations: 2.084 MB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008407/0.4793, allocations: 8.158 MB / 0.7313 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.4815, allocations: 1.588 MB / 0.7329 GB, free: 5.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/0.4857, allocations: 2.311 MB / 0.7351 GB, free: 4.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.4879, allocations: 1.763 MB / 0.7369 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.4881, allocations: 112.6 kB / 0.737 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.4926, allocations: 2.148 MB / 0.7391 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.493, allocations: 442 kB / 0.7395 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.4942, allocations: 1.17 MB / 0.7406 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.499, allocations: 4 MB / 0.7445 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.499, allocations: 0 / 0.7445 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.499, allocations: 0 / 0.7445 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.499, allocations: 0 / 0.7445 GB, free: 11.53 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.004856/0.5039, allocations: 2.838 MB / 0.7473 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5039, allocations: 12.03 kB / 0.7473 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.5041, allocations: 198.6 kB / 0.7475 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.5047, allocations: 257.1 kB / 0.7478 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.5081, allocations: 2.099 MB / 0.7498 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.5082, allocations: 102.7 kB / 0.7499 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.5084, allocations: 132 kB / 0.75 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.5105, allocations: 1.473 MB / 0.7515 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.5105, allocations: 7.875 kB / 0.7515 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5107, allocations: 56 kB / 0.7515 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.5107, allocations: 35.98 kB / 0.7516 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.5124, allocations: 1.021 MB / 0.7526 GB, free: 3.109 MB / 0.5606 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.007028/0.5194, allocations: 8.112 MB / 0.7605 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.5208, allocations: 0.8382 MB / 0.7613 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/0.5213, allocations: 373 kB / 0.7617 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.5231, allocations: 2.803 MB / 0.7644 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5231, allocations: 55.14 kB / 0.7644 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.705e-06/0.5231, allocations: 0 / 0.7644 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002027/0.5251, allocations: 1.124 MB / 0.7655 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.5252, allocations: 64 kB / 0.7656 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.527, allocations: 1.602 MB / 0.7672 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.5271, allocations: 45.7 kB / 0.7672 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006007/0.5277, allocations: 0.9276 MB / 0.7681 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.5279, allocations: 307.6 kB / 0.7684 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.5282, allocations: 234.6 kB / 0.7686 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5283, allocations: 345.9 kB / 0.769 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/0.5288, allocations: 329.9 kB / 0.7693 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007929/0.5296, allocations: 0.7112 MB / 0.77 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.5311, allocations: 1.089 MB / 0.771 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5311, allocations: 4 kB / 0.771 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001984/0.5331, allocations: 1.249 MB / 0.7723 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5331, allocations: 8 kB / 0.7723 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.5331, allocations: 16.78 kB / 0.7723 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.5331, allocations: 16 kB / 0.7723 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.5339, allocations: 271.5 kB / 0.7726 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.5339, allocations: 23.92 kB / 0.7726 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.5351, allocations: 182.6 kB / 0.7728 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/0.5352, allocations: 63.97 kB / 0.7728 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009612/0.5361, allocations: 0.6236 MB / 0.7734 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007846/0.5369, allocations: 0.7033 MB / 0.7741 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001384/0.5383, allocations: 1.081 MB / 0.7752 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.75e-06/0.5383, allocations: 4 kB / 0.7752 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001967/0.5403, allocations: 1.241 MB / 0.7764 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5403, allocations: 12 kB / 0.7764 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.5404, allocations: 15.98 kB / 0.7764 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5404, allocations: 20 kB / 0.7764 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.5411, allocations: 260.2 kB / 0.7767 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.5412, allocations: 27.81 kB / 0.7767 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5422, allocations: 143.2 kB / 0.7768 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/0.5423, allocations: 63.92 kB / 0.7769 GB, free: 8.039 MB / 0.5919 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.0002524/0.5426, allocations: 263.8 kB / 0.7772 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.5429, allocations: 193.6 kB / 0.7773 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.5457, allocations: 1.74 MB / 0.779 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/0.5457, allocations: 27.92 kB / 0.7791 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5457, allocations: 0 / 0.7791 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/0.5473, allocations: 1.146 MB / 0.7802 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.552, allocations: 3.467 MB / 0.7836 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/0.552, allocations: 15.98 kB / 0.7836 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.5527, allocations: 199.7 kB / 0.7838 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.5527, allocations: 12 kB / 0.7838 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.5528, allocations: 39.98 kB / 0.7838 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.5528, allocations: 12 kB / 0.7838 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.5528, allocations: 16.06 kB / 0.7839 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.5556, allocations: 2.234 MB / 0.786 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/0.5562, allocations: 434.2 kB / 0.7864 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.5565, allocations: 28.12 kB / 0.7865 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009093/0.5574, allocations: 103.8 kB / 0.7866 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.5576, allocations: 116.7 kB / 0.7867 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.5577, allocations: 59.97 kB / 0.7867 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001315/0.559, allocations: 1.083 MB / 0.7878 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.559, allocations: 0 / 0.7878 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002506/0.5615, allocations: 1.127 MB / 0.7889 GB, free: 11.42 MB / 0.6075 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.00435/0.5659, allocations: 3.464 MB / 0.7923 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.5685, allocations: 1.796 MB / 0.794 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5685, allocations: 0 / 0.794 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.5696, allocations: 0.8233 MB / 0.7948 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/0.5734, allocations: 0.9265 MB / 0.7957 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.5936, allocations: 14.48 MB / 0.8099 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.5945, allocations: 1.436 MB / 0.8113 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001828/0.5963, allocations: 0.5401 MB / 0.8118 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008982/0.5972, allocations: 0.8467 MB / 0.8126 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of SimCode: time 6.02e-07/0.5972, allocations: 0 / 0.8126 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.747/4.344, allocations: 56.26 MB / 0.8676 GB, free: 217.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/4.344, allocations: 232.9 kB / 0.8678 GB, free: 216.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.893/13.24, allocations: 3.062 kB / 0.8678 GB, free: 216.9 MB / 0.67 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)