Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.001203/0.001203, allocations: 174.5 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.7126/0.7126, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.541/1.541, allocations: 221.3 MB / 400.4 MB, free: 5.75 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.0009664/0.0009665, allocations: 105.1 kB / 483.3 MB, free: 5.781 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.799e-05, allocations: 4.344 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1535, allocations: 82.31 MB / 0.6405 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.484/4.638, allocations: 1.835 GB / 2.475 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/4.638, allocations: 93.94 kB / 2.475 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.579/11.22, allocations: 1.814 GB / 4.29 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/11.22, allocations: 0 / 4.29 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000189/11.22, allocations: 31.98 kB / 4.29 GB, free: 75.99 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.004455/11.22, allocations: 1.248 MB / 4.291 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/11.22, allocations: 8.031 kB / 4.291 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003509/11.22, allocations: 94.52 kB / 4.291 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/11.22, allocations: 186.5 kB / 4.291 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/11.23, allocations: 1.401 MB / 4.293 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/11.23, allocations: 41 kB / 4.293 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/11.23, allocations: 68 kB / 4.293 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/11.23, allocations: 0.7572 MB / 4.293 GB, free: 71.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/11.23, allocations: 3.938 kB / 4.293 GB, free: 71.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/11.23, allocations: 27.98 kB / 4.293 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/11.23, allocations: 19.94 kB / 4.293 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006599/11.23, allocations: 498.6 kB / 4.294 GB, free: 71.45 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.003813/11.23, allocations: 4.222 MB / 4.298 GB, free: 66.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/11.23, allocations: 372.8 kB / 4.298 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/11.23, allocations: 307.3 kB / 4.299 GB, free: 66.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/11.23, allocations: 194.2 kB / 4.299 GB, free: 66.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/11.23, allocations: 287.1 kB / 4.299 GB, free: 65.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004502/11.23, allocations: 39.59 kB / 4.299 GB, free: 65.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/11.23, allocations: 4 kB / 4.299 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.000951/11.24, allocations: 484.3 kB / 4.3 GB, free: 65.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/11.24, allocations: 89.09 kB / 4.3 GB, free: 65.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/11.24, allocations: 1.006 MB / 4.301 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/11.24, allocations: 37.7 kB / 4.301 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/11.24, allocations: 488.9 kB / 4.301 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/11.24, allocations: 118.3 kB / 4.301 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/11.24, allocations: 16 kB / 4.301 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/11.24, allocations: 326 kB / 4.302 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/11.24, allocations: 177 kB / 4.302 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/11.24, allocations: 0.503 MB / 4.302 GB, free: 62.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/11.24, allocations: 279.8 kB / 4.303 GB, free: 62.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/11.24, allocations: 4 kB / 4.303 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008809/11.24, allocations: 0.6709 MB / 4.303 GB, free: 61.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004255/11.24, allocations: 2.137 MB / 4.305 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/11.24, allocations: 12 kB / 4.305 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/11.24, allocations: 8 kB / 4.305 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/11.24, allocations: 111.9 kB / 4.305 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/11.24, allocations: 11.94 kB / 4.306 GB, free: 58.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/11.24, allocations: 87.75 kB / 4.306 GB, free: 58.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/11.24, allocations: 31.98 kB / 4.306 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/11.24, allocations: 8 kB / 4.306 GB, free: 58.78 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006416/11.24, allocations: 0.5092 MB / 4.306 GB, free: 58.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/11.24, allocations: 16.08 kB / 4.306 GB, free: 58.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/11.24, allocations: 8.234 kB / 4.306 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/11.24, allocations: 111.8 kB / 4.306 GB, free: 58.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/11.24, allocations: 11.98 kB / 4.306 GB, free: 58.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009378/11.24, allocations: 91.75 kB / 4.306 GB, free: 58.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/11.24, allocations: 24 kB / 4.306 GB, free: 58 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 (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/11.24, allocations: 155 kB / 4.307 GB, free: 57.85 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/11.24, allocations: 102.7 kB / 4.307 GB, free: 57.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/11.25, allocations: 0.4998 MB / 4.307 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/11.25, allocations: 4 kB / 4.307 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/11.25, allocations: 0 / 4.307 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/11.25, allocations: 3.984 kB / 4.307 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/11.25, allocations: 1.42 MB / 4.309 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/11.25, allocations: 4 kB / 4.309 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/11.25, allocations: 80.09 kB / 4.309 GB, free: 55.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/11.25, allocations: 4 kB / 4.309 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/11.25, allocations: 8 kB / 4.309 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/11.25, allocations: 4 kB / 4.309 GB, free: 55.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/11.25, allocations: 7.922 kB / 4.309 GB, free: 55.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/11.25, allocations: 0.6984 MB / 4.309 GB, free: 54.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/11.25, allocations: 227.8 kB / 4.31 GB, free: 54.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/11.25, allocations: 8 kB / 4.31 GB, free: 54.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/11.25, allocations: 67.77 kB / 4.31 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/11.25, allocations: 39.84 kB / 4.31 GB, free: 54.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/11.25, allocations: 12 kB / 4.31 GB, free: 54.49 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009093/11.25, allocations: 0.8013 MB / 4.31 GB, free: 53.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.11e-07/11.25, allocations: 0 / 4.31 GB, free: 53.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001483/11.25, allocations: 499.7 kB / 4.311 GB, free: 53.19 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 (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002485/11.25, allocations: 2.592 MB / 4.313 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001063/11.26, allocations: 0.8313 MB / 4.314 GB, free: 49.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/11.26, allocations: 4.812 kB / 4.314 GB, free: 49.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/11.26, allocations: 211.8 kB / 4.314 GB, free: 49.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/11.26, allocations: 0.619 MB / 4.315 GB, free: 48.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/11.26, allocations: 1.689 MB / 4.317 GB, free: 47.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/11.26, allocations: 1.2 MB / 4.318 GB, free: 45.87 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00216/11.26, allocations: 0.8081 MB / 4.319 GB, free: 45.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/11.27, allocations: 319.3 kB / 4.319 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of SimCode: time 9.41e-07/11.27, allocations: 0 / 4.319 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4774/11.74, allocations: 46.82 MB / 4.365 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/11.74, allocations: 203.4 kB / 4.365 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/15.09, allocations: 3.938 kB / 4.365 GB, free: 178.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)