Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.001178/0.001178, allocations: 175.1 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.7466/0.7466, 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.614/1.614, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.001205/0.001205, allocations: 91.77 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.789e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1819, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.928/5.11, allocations: 1.832 GB / 2.473 GB, free: 63.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/5.11, allocations: 92.27 kB / 2.473 GB, free: 63.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.931/12.04, allocations: 1.8 GB / 4.273 GB, free: 98.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.175e-06/12.04, allocations: 0 / 4.273 GB, free: 98.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00017/12.04, allocations: 31.98 kB / 4.273 GB, free: 98.11 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002597/12.04, allocations: 1.142 MB / 4.274 GB, free: 96.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/12.04, allocations: 8.031 kB / 4.274 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002286/12.04, allocations: 94.52 kB / 4.274 GB, free: 96.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/12.04, allocations: 186.5 kB / 4.275 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/12.05, allocations: 1.084 MB / 4.276 GB, free: 95.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/12.05, allocations: 45 kB / 4.276 GB, free: 95.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/12.05, allocations: 60 kB / 4.276 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/12.05, allocations: 0.7377 MB / 4.276 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/12.05, allocations: 4 kB / 4.276 GB, free: 94.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/12.05, allocations: 20 kB / 4.277 GB, free: 94.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/12.05, allocations: 16 kB / 4.277 GB, free: 94.53 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/12.05, allocations: 482.6 kB / 4.277 GB, free: 94.05 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.003966/12.05, allocations: 4.59 MB / 4.281 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/12.05, allocations: 386.6 kB / 4.282 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/12.05, allocations: 221.7 kB / 4.282 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/12.05, allocations: 198.1 kB / 4.282 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/12.06, allocations: 273.1 kB / 4.282 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/12.06, allocations: 0 / 4.282 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0009549/12.06, allocations: 458.1 kB / 4.283 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/12.06, allocations: 89.05 kB / 4.283 GB, free: 87.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/12.06, allocations: 0.9685 MB / 4.284 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/12.06, allocations: 41.7 kB / 4.284 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/12.06, allocations: 0.4887 MB / 4.284 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/12.06, allocations: 110.5 kB / 4.285 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/12.06, allocations: 8 kB / 4.285 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/12.06, allocations: 322 kB / 4.285 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/12.06, allocations: 164.7 kB / 4.285 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/12.06, allocations: 493.5 kB / 4.286 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/12.06, allocations: 284.4 kB / 4.286 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/12.06, allocations: 0 / 4.286 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009266/12.06, allocations: 0.6382 MB / 4.286 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004676/12.06, allocations: 2.132 MB / 4.288 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/12.06, allocations: 11.98 kB / 4.289 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/12.06, allocations: 11.95 kB / 4.289 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/12.06, allocations: 107.8 kB / 4.289 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/12.06, allocations: 11.98 kB / 4.289 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/12.06, allocations: 107.4 kB / 4.289 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/12.06, allocations: 27.98 kB / 4.289 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/12.06, allocations: 4 kB / 4.289 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000625/12.06, allocations: 0.4895 MB / 4.289 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/12.06, allocations: 4 kB / 4.289 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/12.06, allocations: 8 kB / 4.289 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/12.06, allocations: 107.8 kB / 4.289 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/12.06, allocations: 8 kB / 4.289 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/12.06, allocations: 103.8 kB / 4.289 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/12.06, allocations: 27.94 kB / 4.289 GB, free: 80.38 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 (53): * Single equations (assignments): 52 * 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.0001419/12.06, allocations: 136.8 kB / 4.29 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/12.06, allocations: 98.78 kB / 4.29 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/12.07, allocations: 466.9 kB / 4.29 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/12.07, allocations: 4 kB / 4.29 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/12.07, allocations: 4 kB / 4.29 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/12.07, allocations: 3.984 kB / 4.29 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/12.07, allocations: 1.353 MB / 4.291 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/12.07, allocations: 0 / 4.291 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/12.07, allocations: 71.89 kB / 4.292 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/12.07, allocations: 0 / 4.292 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/12.07, allocations: 16 kB / 4.292 GB, free: 78.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/12.07, allocations: 3.938 kB / 4.292 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/12.07, allocations: 7.953 kB / 4.292 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/12.07, allocations: 0.6567 MB / 4.292 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/12.07, allocations: 219.7 kB / 4.292 GB, free: 77.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/12.07, allocations: 11.98 kB / 4.292 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/12.07, allocations: 63.73 kB / 4.293 GB, free: 77.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/12.07, allocations: 27.97 kB / 4.293 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/12.07, allocations: 19.98 kB / 4.293 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000944/12.07, allocations: 0.7649 MB / 4.293 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.41e-07/12.07, allocations: 0 / 4.293 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001665/12.07, allocations: 483.7 kB / 4.294 GB, free: 75.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 (31): * Single equations (assignments): 29 * 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.00241/12.07, allocations: 2.479 MB / 4.296 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001166/12.08, allocations: 0.774 MB / 4.297 GB, free: 72.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/12.08, allocations: 3.938 kB / 4.297 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/12.08, allocations: 187.8 kB / 4.297 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/12.08, allocations: 456.2 kB / 4.298 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/12.08, allocations: 1.65 MB / 4.299 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/12.08, allocations: 1.199 MB / 4.3 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002202/12.08, allocations: 0.8465 MB / 4.301 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/12.08, allocations: 303.3 kB / 4.301 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of SimCode: time 1.704e-06/12.08, allocations: 0 / 4.301 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06971/12.15, allocations: 42.93 MB / 4.343 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/12.15, allocations: 209.9 kB / 4.344 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/15.54, allocations: 0 / 4.344 GB, free: 24.86 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)