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.0085/0.0085, allocations: 171.9 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7884/0.7884, allocations: 135.2 MB / 151 MB, free: 13.78 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.665/1.665, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.001175/0.001175, allocations: 94.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004334, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5205, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/5.235, allocations: 1.835 GB / 2.484 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/5.236, allocations: 95.94 kB / 2.484 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.571/11.81, allocations: 1.814 GB / 4.298 GB, free: 97.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/11.81, allocations: 0 / 4.298 GB, free: 97.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001013/11.81, allocations: 31.98 kB / 4.298 GB, free: 97.63 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.002875/11.81, allocations: 1.437 MB / 4.3 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/11.81, allocations: 11.97 kB / 4.3 GB, free: 96.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/11.81, allocations: 94.52 kB / 4.3 GB, free: 96.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/11.81, allocations: 186.5 kB / 4.3 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/11.81, allocations: 1.112 MB / 4.301 GB, free: 94.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/11.81, allocations: 48.95 kB / 4.301 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/11.81, allocations: 56 kB / 4.301 GB, free: 94.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009836/11.81, allocations: 0.7654 MB / 4.302 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/11.81, allocations: 3.938 kB / 4.302 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/11.81, allocations: 24 kB / 4.302 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/11.81, allocations: 12 kB / 4.302 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007371/11.81, allocations: 0.5149 MB / 4.302 GB, free: 93.17 MB / 0.6823 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.003468/11.82, allocations: 4.591 MB / 4.307 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/11.82, allocations: 426.4 kB / 4.307 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/11.82, allocations: 194.2 kB / 4.308 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/11.82, allocations: 293.6 kB / 4.308 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/11.82, allocations: 0 / 4.308 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.002866/11.82, allocations: 1.22 MB / 4.309 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/11.82, allocations: 85.06 kB / 4.309 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/11.82, allocations: 0.9915 MB / 4.31 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/11.82, allocations: 33.7 kB / 4.31 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/11.82, allocations: 492.5 kB / 4.311 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/11.82, allocations: 102.5 kB / 4.311 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/11.82, allocations: 16 kB / 4.311 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/11.82, allocations: 326 kB / 4.311 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/11.82, allocations: 184.7 kB / 4.311 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/11.82, allocations: 0.5082 MB / 4.312 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/11.82, allocations: 292.5 kB / 4.312 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/11.82, allocations: 4 kB / 4.312 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001224/11.83, allocations: 0.8973 MB / 4.313 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006233/11.83, allocations: 2.143 MB / 4.315 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/11.83, allocations: 4 kB / 4.315 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/11.83, allocations: 240.5 kB / 4.315 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/11.83, allocations: 55.91 kB / 4.315 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008415/11.83, allocations: 1.012 MB / 4.316 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/11.83, allocations: 107.5 kB / 4.316 GB, free: 78.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/11.83, allocations: 28 kB / 4.316 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/11.83, allocations: 4 kB / 4.316 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/11.83, allocations: 0.72 MB / 4.317 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/11.83, allocations: 8 kB / 4.317 GB, free: 77.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/11.83, allocations: 211.1 kB / 4.317 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/11.83, allocations: 63.84 kB / 4.317 GB, free: 77.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/11.83, allocations: 3.161 MB / 4.32 GB, free: 73.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/11.84, allocations: 99.52 kB / 4.32 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/11.84, allocations: 24 kB / 4.321 GB, free: 73.64 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 () * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007586/11.84, allocations: 460.8 kB / 4.321 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/11.84, allocations: 102.8 kB / 4.321 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/11.84, allocations: 0.7218 MB / 4.322 GB, free: 72.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/11.84, allocations: 0 / 4.322 GB, free: 72.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/11.84, allocations: 4 kB / 4.322 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/11.84, allocations: 3.984 kB / 4.322 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/11.84, allocations: 1.599 MB / 4.323 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/11.84, allocations: 0 / 4.323 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/11.84, allocations: 23.98 kB / 4.323 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/11.84, allocations: 236.8 kB / 4.324 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/11.84, allocations: 8 kB / 4.324 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007362/11.84, allocations: 0.9644 MB / 4.325 GB, free: 69.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/11.84, allocations: 4.031 kB / 4.325 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/11.84, allocations: 0.9198 MB / 4.325 GB, free: 68.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/11.84, allocations: 227.6 kB / 4.326 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/11.84, allocations: 12 kB / 4.326 GB, free: 68.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/11.84, allocations: 55.88 kB / 4.326 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/11.84, allocations: 32.03 kB / 4.326 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/11.84, allocations: 12 kB / 4.326 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001073/11.85, allocations: 0.7838 MB / 4.327 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/11.85, allocations: 0 / 4.327 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002161/11.85, allocations: 0.5075 MB / 4.327 GB, free: 66.75 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) * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003116/11.85, allocations: 2.719 MB / 4.33 GB, free: 63.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001986/11.85, allocations: 1.049 MB / 4.331 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/11.85, allocations: 4 kB / 4.331 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/11.85, allocations: 236.7 kB / 4.331 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/11.86, allocations: 442 kB / 4.331 GB, free: 62.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/11.87, allocations: 9.822 MB / 4.341 GB, free: 52.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/11.87, allocations: 1.208 MB / 4.342 GB, free: 50.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001199/11.87, allocations: 319.8 kB / 4.342 GB, free: 50.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/11.87, allocations: 319.3 kB / 4.343 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.793e-06/11.87, allocations: 0 / 4.343 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07253/11.94, allocations: 42.49 MB / 4.384 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/11.94, allocations: 263.5 kB / 4.384 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/15.45, allocations: 4 kB / 4.384 GB, free: 7.746 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)