Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00236/0.00236, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.739/0.739, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 87.91 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.587e-05, allocations: 2.875 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.424/4.575, allocations: 1.835 GB / 2.475 GB, free: 97.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/4.576, allocations: 91.94 kB / 2.475 GB, free: 97.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.992/8.568, allocations: 0.9805 GB / 3.456 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.373e-06/8.568, allocations: 0 / 3.456 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001598/8.568, allocations: 35.92 kB / 3.456 GB, free: 166.1 MB / 0.6823 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.002589/8.571, allocations: 1.149 MB / 3.457 GB, free: 165 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/8.571, allocations: 8.031 kB / 3.457 GB, free: 165 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/8.571, allocations: 98.52 kB / 3.457 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/8.572, allocations: 189.6 kB / 3.457 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/8.575, allocations: 1.104 MB / 3.458 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/8.575, allocations: 44.94 kB / 3.458 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/8.575, allocations: 60 kB / 3.458 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009656/8.576, allocations: 0.7455 MB / 3.459 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/8.576, allocations: 3.938 kB / 3.459 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/8.576, allocations: 24 kB / 3.459 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/8.576, allocations: 12 kB / 3.459 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/8.576, allocations: 470.6 kB / 3.46 GB, free: 162.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003725/8.58, allocations: 4.594 MB / 3.464 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/8.581, allocations: 371.3 kB / 3.464 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/8.581, allocations: 225.4 kB / 3.465 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/8.581, allocations: 190.2 kB / 3.465 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/8.582, allocations: 274.1 kB / 3.465 GB, free: 156 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.562e-06/8.582, allocations: 0 / 3.465 GB, free: 156 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001243/8.583, allocations: 0.6586 MB / 3.466 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/8.583, allocations: 89.05 kB / 3.466 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/8.584, allocations: 0.9768 MB / 3.467 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/8.584, allocations: 37.7 kB / 3.467 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/8.584, allocations: 496.6 kB / 3.467 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/8.584, allocations: 118.4 kB / 3.467 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/8.584, allocations: 4 kB / 3.467 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.673e-05/8.584, allocations: 333.9 kB / 3.468 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/8.585, allocations: 160.8 kB / 3.468 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/8.585, allocations: 496.8 kB / 3.468 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/8.585, allocations: 271.3 kB / 3.469 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/8.585, allocations: 0 / 3.469 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001132/8.586, allocations: 0.8521 MB / 3.469 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000425/8.587, allocations: 2.132 MB / 3.471 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/8.587, allocations: 7.953 kB / 3.471 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/8.587, allocations: 259.6 kB / 3.472 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/8.588, allocations: 63.91 kB / 3.472 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/8.589, allocations: 1.083 MB / 3.473 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008397/8.59, allocations: 111.3 kB / 3.473 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/8.59, allocations: 24 kB / 3.473 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/8.59, allocations: 8 kB / 3.473 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/8.591, allocations: 0.6697 MB / 3.474 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/8.591, allocations: 8.125 kB / 3.474 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004883/8.591, allocations: 210.7 kB / 3.474 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/8.592, allocations: 71.89 kB / 3.474 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/8.594, allocations: 2.959 MB / 3.477 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/8.595, allocations: 103.5 kB / 3.477 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/8.595, allocations: 23.98 kB / 3.477 GB, free: 143.3 MB / 0.6823 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 () * 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.0001362/8.595, allocations: 148.8 kB / 3.477 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/8.596, allocations: 102.8 kB / 3.477 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009208/8.596, allocations: 0.6673 MB / 3.478 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/8.596, allocations: 4 kB / 3.478 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/8.596, allocations: 3.938 kB / 3.478 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/8.597, allocations: 3.984 kB / 3.478 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/8.599, allocations: 1.574 MB / 3.479 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/8.599, allocations: 4 kB / 3.479 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/8.599, allocations: 23.98 kB / 3.479 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/8.599, allocations: 247.2 kB / 3.48 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/8.599, allocations: 8 kB / 3.48 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000776/8.6, allocations: 1.02 MB / 3.481 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/8.6, allocations: 4 kB / 3.481 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/8.601, allocations: 0.8789 MB / 3.481 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/8.601, allocations: 215.8 kB / 3.482 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/8.601, allocations: 8.375 kB / 3.482 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/8.602, allocations: 59.78 kB / 3.482 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/8.602, allocations: 27.91 kB / 3.482 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/8.602, allocations: 23.94 kB / 3.482 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008539/8.603, allocations: 0.7807 MB / 3.483 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/8.603, allocations: 0 / 3.483 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001565/8.604, allocations: 0.5152 MB / 3.483 GB, free: 136.8 MB / 0.6823 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) * 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.002337/8.607, allocations: 2.663 MB / 3.486 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002045/8.609, allocations: 1.148 MB / 3.487 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/8.609, allocations: 0 / 3.487 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/8.609, allocations: 264.1 kB / 3.487 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/8.611, allocations: 462.9 kB / 3.487 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/8.614, allocations: 1.66 MB / 3.489 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/8.615, allocations: 1.21 MB / 3.49 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001784/8.617, allocations: 0.7295 MB / 3.491 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/8.617, allocations: 291.3 kB / 3.491 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/8.617, allocations: 0 / 3.491 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07124/8.688, allocations: 45.94 MB / 3.536 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/8.688, allocations: 215.9 kB / 3.536 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/12.23, allocations: 0 / 3.536 GB, free: 82.29 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)