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.002001/0.002001, allocations: 174.3 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8995/0.8995, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.001159/0.001159, allocations: 96.78 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5091, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.716/5.225, allocations: 1.834 GB / 2.468 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/5.225, allocations: 83.95 kB / 2.468 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.441/10.67, allocations: 1.794 GB / 4.262 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.362e-06/10.67, allocations: 0 / 4.262 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.762e-05/10.67, allocations: 28.33 kB / 4.262 GB, free: 183.6 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.001758/10.67, allocations: 1.158 MB / 4.263 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/10.67, allocations: 15.19 kB / 4.263 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007225/10.67, allocations: 181.3 kB / 4.263 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/10.67, allocations: 1.1 MB / 4.265 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/10.67, allocations: 21.23 kB / 4.265 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/10.67, allocations: 37.53 kB / 4.265 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006413/10.67, allocations: 467.4 kB / 4.265 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/10.67, allocations: 0.67 MB / 4.266 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/10.67, allocations: 8.547 kB / 4.266 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/10.67, allocations: 0 / 4.266 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/10.67, allocations: 15.25 kB / 4.266 GB, free: 182.6 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.002954/10.68, allocations: 4.461 MB / 4.27 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/10.68, allocations: 440.5 kB / 4.27 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/10.68, allocations: 244.9 kB / 4.271 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/10.68, allocations: 191.9 kB / 4.271 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/10.68, allocations: 262.9 kB / 4.271 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/10.68, allocations: 0 / 4.271 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001602/10.68, allocations: 0.7534 MB / 4.272 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/10.68, allocations: 84.27 kB / 4.272 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/10.68, allocations: 0.8534 MB / 4.273 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/10.68, allocations: 28.48 kB / 4.273 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/10.68, allocations: 498.9 kB / 4.273 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/10.68, allocations: 103.2 kB / 4.273 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/10.68, allocations: 3.188 kB / 4.273 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/10.68, allocations: 319.7 kB / 4.274 GB, free: 178 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/10.68, allocations: 185.5 kB / 4.274 GB, free: 178 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/10.68, allocations: 494.3 kB / 4.274 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/10.68, allocations: 261.1 kB / 4.275 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/10.68, allocations: 3.906 kB / 4.275 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001404/10.68, allocations: 0.8919 MB / 4.275 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000384/10.68, allocations: 2.128 MB / 4.278 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/10.68, allocations: 6.5 kB / 4.278 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/10.68, allocations: 224.7 kB / 4.278 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/10.68, allocations: 64.59 kB / 4.278 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008565/10.68, allocations: 1.101 MB / 4.279 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/10.69, allocations: 86.84 kB / 4.279 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/10.69, allocations: 28.67 kB / 4.279 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/10.69, allocations: 3.156 kB / 4.279 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009539/10.69, allocations: 0.5923 MB / 4.28 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/10.69, allocations: 5.125 kB / 4.28 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/10.69, allocations: 200 kB / 4.28 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/10.69, allocations: 56.55 kB / 4.28 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/10.69, allocations: 2.979 MB / 4.283 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/10.69, allocations: 84.03 kB / 4.283 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/10.69, allocations: 32.28 kB / 4.283 GB, free: 173.3 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.0001193/10.69, allocations: 119.8 kB / 4.283 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000748/10.69, allocations: 0.6082 MB / 4.284 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/10.69, allocations: 91.06 kB / 4.284 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009141/10.69, allocations: 0.639 MB / 4.284 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/10.69, allocations: 3.188 kB / 4.284 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/10.69, allocations: 3.906 kB / 4.284 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/10.69, allocations: 9.531 kB / 4.284 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/10.69, allocations: 1.461 MB / 4.286 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/10.69, allocations: 10.73 kB / 4.286 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/10.69, allocations: 26.42 kB / 4.286 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/10.69, allocations: 175.6 kB / 4.286 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/10.69, allocations: 7.594 kB / 4.286 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006517/10.69, allocations: 0.9881 MB / 4.287 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/10.69, allocations: 0 / 4.287 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000843/10.7, allocations: 0.8534 MB / 4.288 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/10.7, allocations: 213.5 kB / 4.288 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/10.7, allocations: 3.969 kB / 4.288 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/10.7, allocations: 54.8 kB / 4.288 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/10.7, allocations: 31.41 kB / 4.288 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/10.7, allocations: 10.69 kB / 4.288 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007297/10.7, allocations: 0.6681 MB / 4.289 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/10.7, allocations: 0 / 4.289 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00137/10.7, allocations: 489.7 kB / 4.289 GB, free: 171.3 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.00238/10.7, allocations: 2.777 MB / 4.292 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001273/10.7, allocations: 0.9945 MB / 4.293 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/10.7, allocations: 0 / 4.293 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/10.7, allocations: 207.9 kB / 4.293 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/10.7, allocations: 394 kB / 4.293 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/10.71, allocations: 1.593 MB / 4.295 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/10.71, allocations: 1.21 MB / 4.296 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001495/10.71, allocations: 0.6421 MB / 4.297 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/10.71, allocations: 295.1 kB / 4.297 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/10.71, allocations: 0 / 4.297 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/10.76, allocations: 32.53 MB / 4.329 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/10.76, allocations: 174 kB / 4.329 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/13.7, allocations: 1.406 kB / 4.329 GB, free: 165.4 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)