Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_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.001637/0.001637, allocations: 174.8 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.825/0.825, 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.588/1.588, allocations: 221.3 MB / 400.4 MB, free: 5.781 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.001376/0.001376, allocations: 88.83 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.742e-05/4.752e-05, allocations: 8.266 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.193, allocations: 82.29 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.697/4.89, allocations: 1.835 GB / 2.475 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/4.89, allocations: 87.95 kB / 2.475 GB, free: 97.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.042/11.93, allocations: 1.813 GB / 4.288 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.364e-06/11.93, allocations: 0 / 4.288 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001612/11.93, allocations: 35.92 kB / 4.288 GB, free: 108.4 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.002604/11.94, allocations: 1.149 MB / 4.289 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/11.94, allocations: 16.02 kB / 4.289 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/11.94, allocations: 94.52 kB / 4.289 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/11.94, allocations: 174.5 kB / 4.289 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/11.94, allocations: 1.096 MB / 4.29 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/11.94, allocations: 52.95 kB / 4.29 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/11.94, allocations: 60 kB / 4.29 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/11.94, allocations: 0.7338 MB / 4.291 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/11.94, allocations: 7.938 kB / 4.291 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/11.94, allocations: 24 kB / 4.291 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/11.94, allocations: 16 kB / 4.291 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/11.94, allocations: 474.6 kB / 4.292 GB, free: 104.3 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.003992/11.95, allocations: 4.594 MB / 4.296 GB, free: 99.35 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/11.95, allocations: 379.1 kB / 4.297 GB, free: 98.97 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/11.95, allocations: 224.6 kB / 4.297 GB, free: 98.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/11.95, allocations: 194.1 kB / 4.297 GB, free: 98.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/11.95, allocations: 269.1 kB / 4.297 GB, free: 98.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/11.95, allocations: 4 kB / 4.297 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001322/11.95, allocations: 0.6625 MB / 4.298 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/11.95, allocations: 89 kB / 4.298 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/11.95, allocations: 0.9767 MB / 4.299 GB, free: 96.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/11.95, allocations: 37.7 kB / 4.299 GB, free: 96.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/11.95, allocations: 492.7 kB / 4.299 GB, free: 95.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/11.95, allocations: 110.5 kB / 4.299 GB, free: 95.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/11.95, allocations: 12 kB / 4.299 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.691e-05/11.95, allocations: 322 kB / 4.3 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/11.95, allocations: 168.8 kB / 4.3 GB, free: 95.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/11.95, allocations: 485.5 kB / 4.3 GB, free: 94.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/11.95, allocations: 279.5 kB / 4.301 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/11.95, allocations: 0 / 4.301 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001188/11.95, allocations: 0.8502 MB / 4.302 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004165/11.95, allocations: 2.133 MB / 4.304 GB, free: 91.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/11.95, allocations: 11.98 kB / 4.304 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/11.95, allocations: 229.3 kB / 4.304 GB, free: 91.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/11.95, allocations: 71.84 kB / 4.304 GB, free: 90.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008012/11.95, allocations: 0.9993 MB / 4.305 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/11.96, allocations: 107.3 kB / 4.305 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/11.96, allocations: 31.98 kB / 4.305 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/11.96, allocations: 4 kB / 4.305 GB, free: 89.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/11.96, allocations: 0.6776 MB / 4.306 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/11.96, allocations: 8 kB / 4.306 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000453/11.96, allocations: 212.7 kB / 4.306 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/11.96, allocations: 63.91 kB / 4.306 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/11.96, allocations: 3.075 MB / 4.309 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/11.96, allocations: 91.59 kB / 4.309 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/11.96, allocations: 27.98 kB / 4.309 GB, free: 85.48 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.0001635/11.96, allocations: 136.9 kB / 4.309 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/11.96, allocations: 102.8 kB / 4.309 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/11.96, allocations: 0.6828 MB / 4.31 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/11.96, allocations: 4 kB / 4.31 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/11.96, allocations: 0 / 4.31 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/11.96, allocations: 0 / 4.31 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/11.96, allocations: 1.56 MB / 4.311 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/11.96, allocations: 8.156 kB / 4.311 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/11.96, allocations: 23.98 kB / 4.312 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/11.97, allocations: 230.4 kB / 4.312 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/11.97, allocations: 8 kB / 4.312 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006613/11.97, allocations: 0.9659 MB / 4.313 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/11.97, allocations: 7.969 kB / 4.313 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/11.97, allocations: 0.8692 MB / 4.314 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/11.97, allocations: 223.7 kB / 4.314 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/11.97, allocations: 11.98 kB / 4.314 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/11.97, allocations: 59.8 kB / 4.314 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/11.97, allocations: 35.89 kB / 4.314 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/11.97, allocations: 8 kB / 4.314 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009145/11.97, allocations: 0.7729 MB / 4.315 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/11.97, allocations: 0 / 4.315 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00172/11.97, allocations: 0.5114 MB / 4.315 GB, free: 79.04 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.002476/11.97, allocations: 2.671 MB / 4.318 GB, free: 76.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001633/11.98, allocations: 1.017 MB / 4.319 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/11.98, allocations: 4 kB / 4.319 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/11.98, allocations: 216 kB / 4.319 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/11.98, allocations: 465.3 kB / 4.319 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/11.98, allocations: 1.66 MB / 4.321 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/11.98, allocations: 1.206 MB / 4.322 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002123/11.98, allocations: 0.7373 MB / 4.323 GB, free: 70.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/11.98, allocations: 295.3 kB / 4.323 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of SimCode: time 3.226e-06/11.98, allocations: 0 / 4.323 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.458/16.44, allocations: 46.35 MB / 4.368 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/16.44, allocations: 229.5 kB / 4.369 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.673/20.12, allocations: 7.938 kB / 4.369 GB, free: 24.24 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)