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.0008145/0.0008145, allocations: 90.75 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.0008735/0.0008738, 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.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8186/0.8186, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 12.22 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4104, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.101/0.5114, allocations: 106.4 MB / 0.687 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03196/0.5434, allocations: 24.87 MB / 0.7113 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004469/0.5479, allocations: 95.44 kB / 0.7114 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.551, allocations: 0.7956 MB / 0.7122 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008063/0.5591, allocations: 2.73 MB / 0.7148 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00543/0.5646, allocations: 1.653 MB / 0.7164 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009156/0.5737, allocations: 7.012 MB / 0.7233 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/0.5766, allocations: 1.418 MB / 0.7247 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.5813, allocations: 2.123 MB / 0.7268 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.5843, allocations: 1.618 MB / 0.7283 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005267/0.5848, allocations: 92 kB / 0.7284 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004553/0.5894, allocations: 1.563 MB / 0.7299 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007053/0.5901, allocations: 386.2 kB / 0.7303 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.5911, allocations: 492.5 kB / 0.7308 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.5955, allocations: 2.864 MB / 0.7336 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5955, allocations: 0 / 0.7336 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5955, allocations: 0 / 0.7336 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001118/0.5956, allocations: 0 / 0.7336 GB, free: 6.129 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.005393/0.601, allocations: 2.441 MB / 0.736 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6011, allocations: 8.031 kB / 0.736 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003897/0.6015, allocations: 202.6 kB / 0.7362 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007045/0.6022, allocations: 261 kB / 0.7364 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.6065, allocations: 2.034 MB / 0.7384 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/0.6066, allocations: 106.7 kB / 0.7385 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.6068, allocations: 139.9 kB / 0.7386 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.6094, allocations: 1.446 MB / 0.74 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.6094, allocations: 3.938 kB / 0.7401 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.6095, allocations: 55.94 kB / 0.7401 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.6096, allocations: 43.98 kB / 0.7401 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.6115, allocations: 1.025 MB / 0.7411 GB, free: 14.17 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.009547/0.6211, allocations: 8.128 MB / 0.7491 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.6226, allocations: 0.8328 MB / 0.7499 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.6232, allocations: 376.5 kB / 0.7503 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00227/0.6255, allocations: 2.811 MB / 0.753 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.6255, allocations: 47.16 kB / 0.753 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.455e-06/0.6256, allocations: 0 / 0.753 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002317/0.6279, allocations: 1.14 MB / 0.7542 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.6279, allocations: 60.06 kB / 0.7542 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.6304, allocations: 1.59 MB / 0.7558 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/0.6305, allocations: 41.7 kB / 0.7558 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007601/0.6312, allocations: 0.9276 MB / 0.7567 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.6315, allocations: 307.6 kB / 0.757 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.6316, allocations: 20 kB / 0.757 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6317, allocations: 349.9 kB / 0.7574 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.6323, allocations: 322.4 kB / 0.7577 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.6332, allocations: 0.7072 MB / 0.7584 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.634, allocations: 438.8 kB / 0.7588 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.634, allocations: 7.938 kB / 0.7588 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002266/0.6363, allocations: 1.241 MB / 0.76 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.6366, allocations: 441.3 kB / 0.7604 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/0.6366, allocations: 23.98 kB / 0.7604 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.6367, allocations: 16 kB / 0.7605 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.6375, allocations: 267.5 kB / 0.7607 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/0.6375, allocations: 23.94 kB / 0.7607 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.6389, allocations: 182.6 kB / 0.7609 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.639, allocations: 71.97 kB / 0.761 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.639, allocations: 4 kB / 0.761 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001775/0.6408, allocations: 1.051 MB / 0.762 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.6409, allocations: 16 kB / 0.762 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6409, allocations: 20 kB / 0.762 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/0.6417, allocations: 255.6 kB / 0.7623 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.6417, allocations: 27.92 kB / 0.7623 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.6429, allocations: 163 kB / 0.7625 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.6431, allocations: 63.97 kB / 0.7625 GB, free: 6.484 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007712/0.6438, allocations: 488.5 kB / 0.763 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.6442, allocations: 193.6 kB / 0.7632 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.6473, allocations: 1.749 MB / 0.7649 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.6474, allocations: 19.98 kB / 0.7649 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.6474, allocations: 0 / 0.7649 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/0.6491, allocations: 1.146 MB / 0.766 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/0.6548, allocations: 3.479 MB / 0.7694 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/0.6548, allocations: 20.11 kB / 0.7694 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.6556, allocations: 203.7 kB / 0.7696 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/0.6556, allocations: 12 kB / 0.7696 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.122e-05/0.6557, allocations: 43.98 kB / 0.7697 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/0.6557, allocations: 11.94 kB / 0.7697 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.6557, allocations: 11.94 kB / 0.7697 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.659, allocations: 2.238 MB / 0.7719 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008476/0.6598, allocations: 473.9 kB / 0.7724 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.6602, allocations: 28 kB / 0.7724 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6612, allocations: 107.8 kB / 0.7725 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.6614, allocations: 112.8 kB / 0.7726 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.6615, allocations: 63.97 kB / 0.7726 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001613/0.6631, allocations: 1.056 MB / 0.7737 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6632, allocations: 0 / 0.7737 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002993/0.6662, allocations: 1.123 MB / 0.7748 GB, free: 9.602 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 (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.004686/0.6709, allocations: 3.429 MB / 0.7781 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.6737, allocations: 1.8 MB / 0.7799 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6737, allocations: 3.938 kB / 0.7799 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.6749, allocations: 0.8237 MB / 0.7807 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/0.6793, allocations: 0.9293 MB / 0.7816 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.6997, allocations: 11.47 MB / 0.7928 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.7008, allocations: 1.436 MB / 0.7942 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002191/0.703, allocations: 0.5403 MB / 0.7947 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.7041, allocations: 0.8467 MB / 0.7956 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.7042, allocations: 0 / 0.7956 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3937/1.098, allocations: 58.62 MB / 0.8528 GB, free: 191.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/1.098, allocations: 229.9 kB / 0.853 GB, free: 191.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/4.523, allocations: 0 / 0.853 GB, free: 191.4 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/linux/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) Environment - environmentSimulation: