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.001305/0.001305, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007354/0.007354, allocations: 171.3 kB / 16.27 MB, free: 6.648 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.095/1.095, allocations: 223.2 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6985/0.6985, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8.562 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3203, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09565/0.416, allocations: 112.6 MB / 0.6937 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.4458, allocations: 26.34 MB / 0.7194 GB, free: 5.066 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.4482, allocations: 99.38 kB / 0.7195 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.4502, allocations: 0.9167 MB / 0.7204 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005688/0.4559, allocations: 3.16 MB / 0.7235 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.46, allocations: 2.084 MB / 0.7255 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006817/0.4669, allocations: 8.147 MB / 0.7335 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.4686, allocations: 1.557 MB / 0.735 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.4717, allocations: 2.259 MB / 0.7372 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.4734, allocations: 1.711 MB / 0.7389 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.4735, allocations: 88 kB / 0.739 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.4769, allocations: 2.124 MB / 0.741 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.4773, allocations: 417.9 kB / 0.7414 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009333/0.4782, allocations: 1.152 MB / 0.7426 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.4817, allocations: 3.941 MB / 0.7464 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4817, allocations: 0 / 0.7464 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4817, allocations: 0 / 0.7464 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.4818, allocations: 0 / 0.7464 GB, free: 9.312 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.003997/0.4858, allocations: 2.421 MB / 0.7488 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4858, allocations: 8.031 kB / 0.7488 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.486, allocations: 202.6 kB / 0.749 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004225/0.4865, allocations: 257 kB / 0.7492 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.4898, allocations: 2.103 MB / 0.7513 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.4898, allocations: 102.7 kB / 0.7514 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.49, allocations: 143.9 kB / 0.7515 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.4921, allocations: 1.461 MB / 0.7529 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.4921, allocations: 11.84 kB / 0.7529 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4923, allocations: 60 kB / 0.753 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.4923, allocations: 32 kB / 0.753 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.494, allocations: 1.033 MB / 0.754 GB, free: 1.285 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.006917/0.5009, allocations: 8.128 MB / 0.762 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.5022, allocations: 0.8406 MB / 0.7628 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.5027, allocations: 384.5 kB / 0.7632 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.5045, allocations: 2.807 MB / 0.7659 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5046, allocations: 43.22 kB / 0.7659 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 1.893e-06/0.5046, allocations: 0 / 0.7659 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.001815/0.5064, allocations: 1.152 MB / 0.7671 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.5064, allocations: 60.06 kB / 0.7671 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.5082, allocations: 1.606 MB / 0.7687 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.5083, allocations: 45.7 kB / 0.7687 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.5089, allocations: 0.9277 MB / 0.7696 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.5091, allocations: 307.5 kB / 0.7699 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.5093, allocations: 93.67 kB / 0.77 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5094, allocations: 345.9 kB / 0.7704 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.5099, allocations: 326.4 kB / 0.7707 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/0.5107, allocations: 0.7111 MB / 0.7714 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.512, allocations: 1.097 MB / 0.7724 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.5121, allocations: 8 kB / 0.7724 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00182/0.5139, allocations: 1.253 MB / 0.7737 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.5141, allocations: 441.3 kB / 0.7741 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.5142, allocations: 12 kB / 0.7741 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.5142, allocations: 23.98 kB / 0.7741 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.5149, allocations: 271.5 kB / 0.7744 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.515, allocations: 19.94 kB / 0.7744 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.516, allocations: 186.6 kB / 0.7746 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.5161, allocations: 67.97 kB / 0.7746 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.5161, allocations: 7.984 kB / 0.7746 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001573/0.5176, allocations: 1.058 MB / 0.7757 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.5177, allocations: 28.11 kB / 0.7757 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5177, allocations: 16 kB / 0.7757 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.5184, allocations: 259.6 kB / 0.776 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.5185, allocations: 27.81 kB / 0.776 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/0.5193, allocations: 166.9 kB / 0.7762 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.5194, allocations: 67.97 kB / 0.7762 GB, free: 8.613 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.0005055/0.52, allocations: 468.7 kB / 0.7767 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.5202, allocations: 189.7 kB / 0.7769 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.5228, allocations: 1.753 MB / 0.7786 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.5229, allocations: 31.86 kB / 0.7786 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5229, allocations: 0 / 0.7786 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/0.5244, allocations: 1.154 MB / 0.7797 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.5287, allocations: 3.486 MB / 0.7831 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.5288, allocations: 12.8 kB / 0.7831 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.5294, allocations: 207.7 kB / 0.7833 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.5295, allocations: 8 kB / 0.7833 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.5295, allocations: 43.97 kB / 0.7834 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.5295, allocations: 12 kB / 0.7834 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5295, allocations: 15.88 kB / 0.7834 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.5323, allocations: 2.246 MB / 0.7856 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.5329, allocations: 473.9 kB / 0.7861 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.5331, allocations: 31.98 kB / 0.7861 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008662/0.5339, allocations: 107.8 kB / 0.7862 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5341, allocations: 116.7 kB / 0.7863 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.492e-05/0.5342, allocations: 55.97 kB / 0.7864 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001303/0.5355, allocations: 1.079 MB / 0.7874 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5355, allocations: 0 / 0.7874 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002362/0.5379, allocations: 1.123 MB / 0.7885 GB, free: 11.7 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.004098/0.542, allocations: 3.491 MB / 0.7919 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.5443, allocations: 1.811 MB / 0.7937 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5444, allocations: 1.875 kB / 0.7937 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5454, allocations: 0.8295 MB / 0.7945 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/0.5504, allocations: 0.9279 MB / 0.7954 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.5699, allocations: 14.61 MB / 0.8097 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.571, allocations: 1.432 MB / 0.8111 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001783/0.5727, allocations: 0.5389 MB / 0.8116 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009607/0.5737, allocations: 0.8468 MB / 0.8124 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.5737, allocations: 0 / 0.8124 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/1.784, allocations: 56.78 MB / 0.8679 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.784, allocations: 234 kB / 0.8681 GB, free: 175.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.396/5.18, allocations: 0 / 0.8681 GB, free: 175.9 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)