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.007667/0.007667, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7767/0.7767, allocations: 135.2 MB / 151 MB, free: 13.82 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.681/1.681, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 90.92 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5362, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.075/5.612, allocations: 1.835 GB / 2.484 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/5.612, allocations: 95.52 kB / 2.484 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.721/9.333, allocations: 0.9812 GB / 3.466 GB, free: 198.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/9.333, allocations: 6.375 kB / 3.466 GB, free: 198.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001749/9.333, allocations: 32.94 kB / 3.466 GB, free: 198.7 MB / 0.698 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.004172/9.337, allocations: 1.435 MB / 3.467 GB, free: 198 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/9.337, allocations: 7.25 kB / 3.467 GB, free: 198 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/9.337, allocations: 97.41 kB / 3.467 GB, free: 198 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/9.338, allocations: 189.4 kB / 3.467 GB, free: 197.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/9.341, allocations: 1.119 MB / 3.468 GB, free: 197.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/9.341, allocations: 44.97 kB / 3.468 GB, free: 197.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/9.342, allocations: 59 kB / 3.468 GB, free: 197.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/9.343, allocations: 0.761 MB / 3.469 GB, free: 197.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/9.343, allocations: 3.094 kB / 3.469 GB, free: 197.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/9.343, allocations: 25.47 kB / 3.469 GB, free: 197.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/9.343, allocations: 20.95 kB / 3.469 GB, free: 197.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/9.344, allocations: 0.5098 MB / 3.47 GB, free: 197.4 MB / 0.698 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.003967/9.348, allocations: 4.589 MB / 3.474 GB, free: 194 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/9.348, allocations: 419.6 kB / 3.475 GB, free: 194 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/9.349, allocations: 196.4 kB / 3.475 GB, free: 193.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/9.349, allocations: 300.5 kB / 3.475 GB, free: 193.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/9.349, allocations: 0 / 3.475 GB, free: 193.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.003122/9.352, allocations: 1.298 MB / 3.476 GB, free: 193.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/9.352, allocations: 83.67 kB / 3.476 GB, free: 193.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/9.353, allocations: 0.9815 MB / 3.477 GB, free: 193.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/9.353, allocations: 38.64 kB / 3.477 GB, free: 193.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/9.354, allocations: 499.2 kB / 3.478 GB, free: 193 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/9.354, allocations: 115.4 kB / 3.478 GB, free: 193 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/9.354, allocations: 9.281 kB / 3.478 GB, free: 193 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/9.354, allocations: 323.2 kB / 3.478 GB, free: 192.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/9.354, allocations: 186.5 kB / 3.479 GB, free: 192.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/9.355, allocations: 0.5078 MB / 3.479 GB, free: 192.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/9.355, allocations: 300.6 kB / 3.479 GB, free: 192.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/9.355, allocations: 3.469 kB / 3.479 GB, free: 192.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001369/9.357, allocations: 0.8973 MB / 3.48 GB, free: 192.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004733/9.357, allocations: 2.131 MB / 3.482 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/9.357, allocations: 3.906 kB / 3.482 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/9.358, allocations: 270.2 kB / 3.483 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/9.358, allocations: 61.81 kB / 3.483 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/9.359, allocations: 1.084 MB / 3.484 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/9.36, allocations: 100.4 kB / 3.484 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/9.36, allocations: 30.25 kB / 3.484 GB, free: 189.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/9.36, allocations: 3.188 kB / 3.484 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/9.361, allocations: 0.7127 MB / 3.484 GB, free: 189 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/9.361, allocations: 7.094 kB / 3.484 GB, free: 189 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/9.362, allocations: 219.6 kB / 3.485 GB, free: 188.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/9.362, allocations: 69.36 kB / 3.485 GB, free: 188.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/9.366, allocations: 3.062 MB / 3.488 GB, free: 186.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/9.367, allocations: 91.03 kB / 3.488 GB, free: 186.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/9.367, allocations: 23.59 kB / 3.488 GB, free: 186.8 MB / 0.698 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.0007894/9.368, allocations: 467.2 kB / 3.488 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/9.368, allocations: 99.88 kB / 3.488 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/9.369, allocations: 0.7184 MB / 3.489 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/9.369, allocations: 7.312 kB / 3.489 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/9.369, allocations: 0 / 3.489 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/9.369, allocations: 7.203 kB / 3.489 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/9.373, allocations: 1.59 MB / 3.491 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/9.373, allocations: 7.875 kB / 3.491 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/9.373, allocations: 22.48 kB / 3.491 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/9.373, allocations: 250.8 kB / 3.491 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/9.373, allocations: 7.625 kB / 3.491 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008988/9.374, allocations: 1.029 MB / 3.492 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/9.374, allocations: 4.031 kB / 3.492 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/9.375, allocations: 0.9181 MB / 3.493 GB, free: 183.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/9.376, allocations: 224.5 kB / 3.493 GB, free: 183.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/9.376, allocations: 7.906 kB / 3.493 GB, free: 183.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/9.377, allocations: 61.53 kB / 3.493 GB, free: 183.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/9.377, allocations: 30 kB / 3.493 GB, free: 183.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/9.377, allocations: 16.97 kB / 3.493 GB, free: 183.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001176/9.378, allocations: 0.7809 MB / 3.494 GB, free: 182.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/9.378, allocations: 4 kB / 3.494 GB, free: 182.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002127/9.38, allocations: 0.5114 MB / 3.494 GB, free: 182 MB / 0.698 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.003213/9.383, allocations: 2.713 MB / 3.497 GB, free: 179.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002583/9.386, allocations: 1.182 MB / 3.498 GB, free: 178.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/9.386, allocations: 0 / 3.498 GB, free: 178.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/9.387, allocations: 280.2 kB / 3.499 GB, free: 178 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/9.388, allocations: 459.3 kB / 3.499 GB, free: 177.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/9.4, allocations: 9.837 MB / 3.509 GB, free: 167.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/9.4, allocations: 1.204 MB / 3.51 GB, free: 166.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001008/9.401, allocations: 327.2 kB / 3.51 GB, free: 165.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/9.402, allocations: 311.3 kB / 3.51 GB, free: 165.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/9.402, allocations: 0 / 3.51 GB, free: 165.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0656/9.467, allocations: 42.1 MB / 3.551 GB, free: 124.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/9.467, allocations: 267.4 kB / 3.552 GB, free: 123.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/12.83, allocations: 0 / 3.552 GB, free: 123.7 MB / 0.698 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)