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.0009147/0.0009147, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004905/0.004905, allocations: 170 kB / 16.26 MB, free: 6.613 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9349/0.9349, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002932, allocations: 15.98 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.3849/0.5228, allocations: 157.3 MB / 0.7417 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005031/0.5279, allocations: 3.592 MB / 0.7452 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.5283, allocations: 13.03 kB / 0.7452 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.5288, allocations: 134.5 kB / 0.7453 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.5302, allocations: 0.4906 MB / 0.7458 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.5313, allocations: 386.4 kB / 0.7462 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003235/0.5345, allocations: 3.49 MB / 0.7496 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008686/0.5354, allocations: 0.7409 MB / 0.7503 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.5367, allocations: 0.9124 MB / 0.7512 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/0.5374, allocations: 0.7188 MB / 0.7519 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.5375, allocations: 30.28 kB / 0.7519 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5388, allocations: 0.8048 MB / 0.7527 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.539, allocations: 281 kB / 0.753 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.5395, allocations: 0.5271 MB / 0.7535 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.5408, allocations: 1.364 MB / 0.7548 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5408, allocations: 4 kB / 0.7548 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5408, allocations: 0 / 0.7548 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.557e-06/0.5409, allocations: 0 / 0.7548 GB, free: 1.617 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.001872/0.5427, allocations: 1.272 MB / 0.7561 GB, free: 296 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5428, allocations: 8.031 kB / 0.7561 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.5429, allocations: 98.52 kB / 0.7562 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.5437, allocations: 192.5 kB / 0.7564 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.5448, allocations: 0.8023 MB / 0.7571 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.5448, allocations: 41 kB / 0.7572 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.875e-05/0.5449, allocations: 56 kB / 0.7572 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.5461, allocations: 0.7978 MB / 0.758 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.5461, allocations: 3.938 kB / 0.758 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.5462, allocations: 27.94 kB / 0.758 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5462, allocations: 12 kB / 0.758 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009359/0.5471, allocations: 0.5461 MB / 0.7586 GB, free: 13.57 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.003872/0.551, allocations: 4.599 MB / 0.7631 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.5518, allocations: 435.6 kB / 0.7635 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.5522, allocations: 250.1 kB / 0.7637 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.5525, allocations: 194.2 kB / 0.7639 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.553, allocations: 302.2 kB / 0.7642 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.553, allocations: 4 kB / 0.7642 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.005059/0.5581, allocations: 1.683 MB / 0.7658 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.5581, allocations: 81.11 kB / 0.7659 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.5595, allocations: 1.118 MB / 0.767 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.5595, allocations: 37.7 kB / 0.7671 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.5599, allocations: 493.1 kB / 0.7675 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.743e-05/0.56, allocations: 110.5 kB / 0.7676 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.5601, allocations: 41.7 kB / 0.7677 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5602, allocations: 326 kB / 0.768 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.5606, allocations: 212.7 kB / 0.7682 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.5612, allocations: 0.5315 MB / 0.7687 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/0.5621, allocations: 0.6386 MB / 0.7693 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5621, allocations: 0 / 0.7693 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002164/0.5643, allocations: 1.057 MB / 0.7704 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.5645, allocations: 275.8 kB / 0.7706 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5645, allocations: 4 kB / 0.7706 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.5658, allocations: 386.5 kB / 0.771 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.566, allocations: 60.02 kB / 0.771 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5675, allocations: 1.105 MB / 0.7721 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.5682, allocations: 99.47 kB / 0.7722 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.5682, allocations: 20 kB / 0.7722 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.5682, allocations: 4 kB / 0.7722 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/0.5697, allocations: 0.7407 MB / 0.773 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5697, allocations: 4 kB / 0.773 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/0.5702, allocations: 217.2 kB / 0.7732 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.5705, allocations: 67.83 kB / 0.7732 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.5741, allocations: 2.989 MB / 0.7762 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.5747, allocations: 99.47 kB / 0.7763 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.5748, allocations: 20 kB / 0.7763 GB, free: 10.44 MB / 0.5919 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004764/0.5752, allocations: 472 kB / 0.7767 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5754, allocations: 98.78 kB / 0.7768 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.5767, allocations: 0.7298 MB / 0.7775 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5767, allocations: 4 kB / 0.7775 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.5767, allocations: 192 / 0.7775 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5767, allocations: 0 / 0.7775 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.5791, allocations: 1.615 MB / 0.7791 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5791, allocations: 4 kB / 0.7791 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.5792, allocations: 27.92 kB / 0.7791 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/0.5797, allocations: 247.3 kB / 0.7794 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.5797, allocations: 8 kB / 0.7794 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009906/0.5807, allocations: 1.036 MB / 0.7804 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5807, allocations: 0 / 0.7804 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.582, allocations: 0.8487 MB / 0.7812 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5823, allocations: 219.8 kB / 0.7814 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.5824, allocations: 8 kB / 0.7814 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.5829, allocations: 51.8 kB / 0.7815 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.583, allocations: 35.89 kB / 0.7815 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.583, allocations: 12 kB / 0.7815 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009946/0.584, allocations: 0.7955 MB / 0.7823 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.584, allocations: 7.938 kB / 0.7823 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001144/0.5852, allocations: 431.5 kB / 0.7827 GB, free: 3.625 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/0.5868, allocations: 1.361 MB / 0.7841 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0024/0.5892, allocations: 1.216 MB / 0.7853 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5892, allocations: 0 / 0.7853 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.5898, allocations: 279.4 kB / 0.7855 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.5921, allocations: 466 kB / 0.786 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.6072, allocations: 9.51 MB / 0.7953 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.608, allocations: 1.184 MB / 0.7964 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008785/0.6088, allocations: 299.9 kB / 0.7967 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.6092, allocations: 315.3 kB / 0.797 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6092, allocations: 0 / 0.797 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7629/1.372, allocations: 27.02 MB / 0.8234 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003485/1.372, allocations: 287.9 kB / 0.8237 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.81, allocations: 7.938 kB / 0.8237 GB, free: 9.469 MB / 0.6387 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/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)