Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.001224/0.001224, allocations: 175 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.7331/0.7331, 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.525/1.525, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0009658/0.0009659, allocations: 99.83 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.743e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.62/4.772, allocations: 1.835 GB / 2.475 GB, free: 97.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/4.773, allocations: 91.94 kB / 2.475 GB, free: 97.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.665/11.44, allocations: 1.813 GB / 4.288 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/11.44, allocations: 0 / 4.288 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001802/11.44, allocations: 31.98 kB / 4.288 GB, free: 108.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.002821/11.44, allocations: 1.157 MB / 4.289 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/11.44, allocations: 8.031 kB / 4.289 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/11.44, allocations: 102.5 kB / 4.289 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/11.44, allocations: 186.5 kB / 4.289 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/11.45, allocations: 1.085 MB / 4.29 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/11.45, allocations: 52.95 kB / 4.29 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/11.45, allocations: 56 kB / 4.29 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/11.45, allocations: 0.7377 MB / 4.291 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/11.45, allocations: 7.938 kB / 4.291 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/11.45, allocations: 16 kB / 4.291 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/11.45, allocations: 16 kB / 4.291 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/11.45, allocations: 486.5 kB / 4.292 GB, free: 104 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.004223/11.45, allocations: 4.594 MB / 4.296 GB, free: 99.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/11.45, allocations: 382.5 kB / 4.297 GB, free: 98.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/11.45, allocations: 225.4 kB / 4.297 GB, free: 98.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/11.45, allocations: 194.2 kB / 4.297 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/11.45, allocations: 265.1 kB / 4.297 GB, free: 97.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.295e-06/11.45, allocations: 0 / 4.297 GB, free: 97.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001372/11.45, allocations: 0.6703 MB / 4.298 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/11.45, allocations: 85.06 kB / 4.298 GB, free: 97.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/11.46, allocations: 0.9806 MB / 4.299 GB, free: 96.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/11.46, allocations: 33.7 kB / 4.299 GB, free: 96.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/11.46, allocations: 492.5 kB / 4.299 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/11.46, allocations: 106.5 kB / 4.299 GB, free: 95.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/11.46, allocations: 12.22 kB / 4.299 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/11.46, allocations: 322 kB / 4.3 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/11.46, allocations: 164.7 kB / 4.3 GB, free: 95.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/11.46, allocations: 492.8 kB / 4.3 GB, free: 94.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/11.46, allocations: 275.6 kB / 4.301 GB, free: 94.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/11.46, allocations: 4 kB / 4.301 GB, free: 94.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001242/11.46, allocations: 0.8567 MB / 4.302 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004373/11.46, allocations: 2.135 MB / 4.304 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/11.46, allocations: 4 kB / 4.304 GB, free: 90.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/11.46, allocations: 230 kB / 4.304 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/11.46, allocations: 67.84 kB / 4.304 GB, free: 90.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000837/11.46, allocations: 1.003 MB / 4.305 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/11.46, allocations: 111.4 kB / 4.305 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/11.46, allocations: 24 kB / 4.305 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/11.46, allocations: 4 kB / 4.305 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/11.46, allocations: 0.6809 MB / 4.306 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/11.46, allocations: 8.625 kB / 4.306 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/11.46, allocations: 210.9 kB / 4.306 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/11.46, allocations: 63.91 kB / 4.306 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/11.47, allocations: 3.078 MB / 4.309 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/11.47, allocations: 91.59 kB / 4.309 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/11.47, allocations: 24 kB / 4.309 GB, free: 85.17 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002251/11.47, allocations: 144.8 kB / 4.309 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/11.47, allocations: 98.78 kB / 4.309 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/11.47, allocations: 0.675 MB / 4.31 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/11.47, allocations: 4 kB / 4.31 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/11.47, allocations: 0 / 4.31 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/11.47, allocations: 4 kB / 4.31 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/11.47, allocations: 1.565 MB / 4.311 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/11.47, allocations: 4 kB / 4.311 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/11.47, allocations: 32.33 kB / 4.312 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/11.47, allocations: 216.6 kB / 4.312 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/11.47, allocations: 11.98 kB / 4.312 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/11.47, allocations: 0.9715 MB / 4.313 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/11.47, allocations: 12.08 kB / 4.313 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/11.47, allocations: 0.8707 MB / 4.314 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/11.48, allocations: 227.7 kB / 4.314 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/11.48, allocations: 8 kB / 4.314 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/11.48, allocations: 59.78 kB / 4.314 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/11.48, allocations: 35.89 kB / 4.314 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/11.48, allocations: 8 kB / 4.314 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001013/11.48, allocations: 0.7729 MB / 4.315 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/11.48, allocations: 0 / 4.315 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002008/11.48, allocations: 0.5114 MB / 4.315 GB, free: 78.71 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002914/11.48, allocations: 2.674 MB / 4.318 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001797/11.48, allocations: 1.014 MB / 4.319 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/11.48, allocations: 0 / 4.319 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/11.48, allocations: 218.5 kB / 4.319 GB, free: 74.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/11.49, allocations: 458.7 kB / 4.319 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/11.49, allocations: 1.662 MB / 4.321 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/11.49, allocations: 1.202 MB / 4.322 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001897/11.49, allocations: 0.7334 MB / 4.323 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/11.49, allocations: 291.3 kB / 4.323 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of SimCode: time 7.12e-07/11.49, allocations: 0 / 4.323 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07369/11.57, allocations: 46.35 MB / 4.368 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/11.57, allocations: 233.4 kB / 4.369 GB, free: 23.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/15.06, allocations: 8 kB / 4.369 GB, free: 23.97 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)