Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.0008581/0.0008582, allocations: 91.61 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.0008187/0.0008187, 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.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8919/0.8919, allocations: 135.3 MB / 426.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8.219 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 82.32 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.3928/0.5392, allocations: 146.7 MB / 0.7308 GB, free: 3.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004921/0.5441, allocations: 3.362 MB / 0.734 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.5445, allocations: 12.5 kB / 0.7341 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.545, allocations: 105.2 kB / 0.7342 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.5462, allocations: 399.9 kB / 0.7345 GB, free: 464 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.5474, allocations: 372.1 kB / 0.7349 GB, free: 296 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002977/0.5504, allocations: 2.994 MB / 0.7378 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009403/0.5513, allocations: 0.7019 MB / 0.7385 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.5527, allocations: 0.8596 MB / 0.7393 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007871/0.5535, allocations: 0.7124 MB / 0.74 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.5536, allocations: 32.56 kB / 0.7401 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.5547, allocations: 0.5507 MB / 0.7406 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.5549, allocations: 284 kB / 0.7409 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.5552, allocations: 235.8 kB / 0.7411 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009357/0.5561, allocations: 1.017 MB / 0.7421 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5561, allocations: 3.938 kB / 0.7421 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5561, allocations: 0 / 0.7421 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.5561, allocations: 0 / 0.7421 GB, free: 13.33 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001766/0.5579, allocations: 1.31 MB / 0.7434 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.558, allocations: 12.75 kB / 0.7434 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.5581, allocations: 94.83 kB / 0.7435 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/0.5587, allocations: 188.4 kB / 0.7437 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5599, allocations: 0.8003 MB / 0.7444 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.56, allocations: 41.97 kB / 0.7445 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.5601, allocations: 67.31 kB / 0.7445 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.5611, allocations: 0.7944 MB / 0.7453 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5612, allocations: 0 / 0.7453 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.5612, allocations: 22.44 kB / 0.7453 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5612, allocations: 19.28 kB / 0.7454 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.5621, allocations: 0.5362 MB / 0.7459 GB, free: 10.52 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.003787/0.5659, allocations: 4.607 MB / 0.7504 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.5666, allocations: 423 kB / 0.7508 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.5669, allocations: 254.4 kB / 0.751 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.5672, allocations: 190.2 kB / 0.7512 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/0.5677, allocations: 311.1 kB / 0.7515 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.5677, allocations: 0 / 0.7515 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.004529/0.5722, allocations: 1.666 MB / 0.7531 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.5723, allocations: 81.11 kB / 0.7532 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.5735, allocations: 1.114 MB / 0.7543 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.5736, allocations: 33.7 kB / 0.7543 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.574, allocations: 0.4893 MB / 0.7548 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.5741, allocations: 110.5 kB / 0.7549 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.5741, allocations: 8 kB / 0.7549 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5742, allocations: 326 kB / 0.7552 GB, free: 432 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.5746, allocations: 184.7 kB / 0.7554 GB, free: 248 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.5751, allocations: 0.4952 MB / 0.7559 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.5756, allocations: 296 kB / 0.7562 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5756, allocations: 0 / 0.7562 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001963/0.5776, allocations: 0.9903 MB / 0.7571 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.5777, allocations: 271.3 kB / 0.7574 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5778, allocations: 8 kB / 0.7574 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.5789, allocations: 366.7 kB / 0.7578 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.5792, allocations: 63.91 kB / 0.7578 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.5805, allocations: 1.101 MB / 0.7589 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.5811, allocations: 103.9 kB / 0.759 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.5812, allocations: 27.98 kB / 0.759 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.5812, allocations: 4 kB / 0.759 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001284/0.5825, allocations: 0.7406 MB / 0.7597 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5825, allocations: 12.62 kB / 0.7598 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.583, allocations: 216.7 kB / 0.76 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.5832, allocations: 63.91 kB / 0.76 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.5868, allocations: 3.035 MB / 0.763 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.5874, allocations: 91.62 kB / 0.7631 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.5875, allocations: 24 kB / 0.7631 GB, free: 7.957 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.588, allocations: 466.9 kB / 0.7635 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5881, allocations: 110.6 kB / 0.7636 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.5894, allocations: 0.7112 MB / 0.7643 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5894, allocations: 4 kB / 0.7643 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.5894, allocations: 0 / 0.7643 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5894, allocations: 0 / 0.7643 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.5917, allocations: 1.614 MB / 0.7659 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5917, allocations: 8.219 kB / 0.7659 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5918, allocations: 27.98 kB / 0.766 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.5923, allocations: 256.6 kB / 0.7662 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.5923, allocations: 8 kB / 0.7662 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009961/0.5933, allocations: 1.029 MB / 0.7672 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5933, allocations: 7.953 kB / 0.7672 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.5946, allocations: 0.8332 MB / 0.768 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.595, allocations: 219.9 kB / 0.7682 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5952, allocations: 12 kB / 0.7683 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.5957, allocations: 63.8 kB / 0.7683 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.5958, allocations: 35.88 kB / 0.7684 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.5959, allocations: 12 kB / 0.7684 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001098/0.597, allocations: 0.7915 MB / 0.7691 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.597, allocations: 0 / 0.7691 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001359/0.5983, allocations: 455.4 kB / 0.7696 GB, free: 1.129 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001754/0.6001, allocations: 1.366 MB / 0.7709 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.6026, allocations: 1.189 MB / 0.7721 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6026, allocations: 0 / 0.7721 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.6032, allocations: 291.3 kB / 0.7723 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.6054, allocations: 468.8 kB / 0.7728 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.6183, allocations: 6.588 MB / 0.7792 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.6193, allocations: 1.181 MB / 0.7804 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001113/0.6204, allocations: 315.6 kB / 0.7807 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.6208, allocations: 307.3 kB / 0.781 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of SimCode: time 1.533e-06/0.6208, allocations: 0 / 0.781 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.6686, allocations: 27.59 MB / 0.8079 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.6688, allocations: 259 kB / 0.8082 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.924, allocations: 0 / 0.8082 GB, free: 9.5 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) Environment - environmentSimulation: