Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_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.0008676/0.0008677, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009844/0.0009841, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9972/0.9972, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 9.719 kB / 0.5071 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 82.32 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4336/0.6065, allocations: 106.3 MB / 0.6913 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04023/0.6468, allocations: 24.86 MB / 0.7156 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005568/0.6524, allocations: 99.69 kB / 0.7157 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.6566, allocations: 0.785 MB / 0.7164 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.6673, allocations: 2.733 MB / 0.7191 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006151/0.6734, allocations: 1.666 MB / 0.7207 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009973/0.6834, allocations: 7.002 MB / 0.7276 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.6867, allocations: 1.428 MB / 0.729 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.6926, allocations: 2.13 MB / 0.731 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.6963, allocations: 1.607 MB / 0.7326 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006445/0.6969, allocations: 92.34 kB / 0.7327 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006077/0.703, allocations: 1.565 MB / 0.7342 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008861/0.7039, allocations: 393.2 kB / 0.7346 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.7054, allocations: 481.5 kB / 0.7351 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004995/0.7104, allocations: 2.873 MB / 0.7379 GB, free: 2.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7104, allocations: 0 / 0.7379 GB, free: 2.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7104, allocations: 0 / 0.7379 GB, free: 2.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001115/0.7105, allocations: 0 / 0.7379 GB, free: 2.031 MB / 0.545 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.005796/0.7163, allocations: 2.453 MB / 0.7403 GB, free: 76 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.7164, allocations: 8.031 kB / 0.7403 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004479/0.7168, allocations: 198.6 kB / 0.7405 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.7176, allocations: 257 kB / 0.7407 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.7218, allocations: 2.03 MB / 0.7427 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.7219, allocations: 102.7 kB / 0.7428 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.7221, allocations: 143.9 kB / 0.7429 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.7246, allocations: 1.454 MB / 0.7443 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.7246, allocations: 0 / 0.7443 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.7247, allocations: 63.95 kB / 0.7444 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.7248, allocations: 35.98 kB / 0.7444 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.7266, allocations: 1.025 MB / 0.7454 GB, free: 10.62 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.008627/0.7353, allocations: 8.12 MB / 0.7534 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.7367, allocations: 0.847 MB / 0.7542 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.7373, allocations: 381 kB / 0.7546 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/0.7394, allocations: 2.803 MB / 0.7573 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.7395, allocations: 51.14 kB / 0.7574 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/0.7395, allocations: 0 / 0.7574 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002103/0.7416, allocations: 1.136 MB / 0.7585 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.7417, allocations: 60.06 kB / 0.7585 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.7437, allocations: 1.586 MB / 0.7601 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.7438, allocations: 41.7 kB / 0.7601 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/0.7445, allocations: 0.9276 MB / 0.761 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.745, allocations: 303.6 kB / 0.7613 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.7451, allocations: 20 kB / 0.7613 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.7453, allocations: 357.9 kB / 0.7617 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.7459, allocations: 314.5 kB / 0.762 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.7467, allocations: 0.715 MB / 0.7627 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.7474, allocations: 442.7 kB / 0.7631 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.7475, allocations: 4 kB / 0.7631 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002125/0.7496, allocations: 1.246 MB / 0.7643 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.7499, allocations: 439.4 kB / 0.7647 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/0.7499, allocations: 23.92 kB / 0.7647 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.75, allocations: 20 kB / 0.7648 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.7508, allocations: 263.5 kB / 0.765 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.7508, allocations: 24.02 kB / 0.765 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.752, allocations: 190.6 kB / 0.7652 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.7521, allocations: 71.92 kB / 0.7653 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.7521, allocations: 4.766 kB / 0.7653 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001934/0.7541, allocations: 1.05 MB / 0.7663 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.7541, allocations: 19.98 kB / 0.7663 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7541, allocations: 20 kB / 0.7664 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.7549, allocations: 256.1 kB / 0.7666 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.7549, allocations: 31.88 kB / 0.7666 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.7561, allocations: 158.9 kB / 0.7668 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.7562, allocations: 75.91 kB / 0.7669 GB, free: 2.918 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007824/0.757, allocations: 468.7 kB / 0.7673 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.7574, allocations: 197.6 kB / 0.7675 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.7609, allocations: 1.752 MB / 0.7692 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.7609, allocations: 15.98 kB / 0.7692 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7609, allocations: 0 / 0.7692 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001805/0.7627, allocations: 1.15 MB / 0.7703 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/0.7689, allocations: 3.471 MB / 0.7737 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.769, allocations: 15.98 kB / 0.7737 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.7697, allocations: 199.7 kB / 0.7739 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/0.7697, allocations: 12 kB / 0.7739 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.7698, allocations: 43.97 kB / 0.774 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/0.7698, allocations: 24.17 kB / 0.774 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.7698, allocations: 7.938 kB / 0.774 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/0.7732, allocations: 2.23 MB / 0.7762 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008686/0.7741, allocations: 477.9 kB / 0.7767 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.7743, allocations: 36.11 kB / 0.7767 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008861/0.7752, allocations: 96.38 kB / 0.7768 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.7754, allocations: 124.6 kB / 0.7769 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7755, allocations: 59.97 kB / 0.777 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001522/0.777, allocations: 1.06 MB / 0.778 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7771, allocations: 0 / 0.778 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002844/0.7799, allocations: 1.127 MB / 0.7791 GB, free: 6.047 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00477/0.7847, allocations: 3.423 MB / 0.7824 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003204/0.7879, allocations: 1.797 MB / 0.7842 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7879, allocations: 0 / 0.7842 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.7892, allocations: 0.8253 MB / 0.785 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/0.7934, allocations: 0.9203 MB / 0.7859 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.8136, allocations: 11.48 MB / 0.7971 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.8147, allocations: 1.436 MB / 0.7985 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002134/0.8168, allocations: 0.531 MB / 0.799 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.8179, allocations: 0.8546 MB / 0.7999 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of SimCode: time 1.152e-06/0.8179, allocations: 4 kB / 0.7999 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09512/0.913, allocations: 58.63 MB / 0.8571 GB, free: 5.605 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.9133, allocations: 223.7 kB / 0.8573 GB, free: 5.363 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.758/4.671, allocations: 0 / 0.8573 GB, free: 5.363 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) Environment - environmentSimulation: