Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_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.002079/0.002079, allocations: 177 kB / 7.649 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 1.565/1.565, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.552/2.552, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001338/0.001338, allocations: 95.72 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.319e-05/4.33e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9944/0.9944, allocations: 82.29 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.185/9.179, allocations: 1.832 GB / 2.465 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/9.18, allocations: 86.52 kB / 2.466 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.63/19.81, allocations: 1.782 GB / 4.248 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/19.81, allocations: 0 / 4.248 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002027/19.81, allocations: 29.33 kB / 4.248 GB, free: 189.2 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.004174/19.81, allocations: 1.151 MB / 4.249 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.478e-05/19.81, allocations: 7.781 kB / 4.249 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/19.82, allocations: 187.8 kB / 4.249 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/19.82, allocations: 1.071 MB / 4.25 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/19.82, allocations: 20.41 kB / 4.25 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/19.82, allocations: 40.06 kB / 4.25 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/19.82, allocations: 470.5 kB / 4.25 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/19.82, allocations: 0.6743 MB / 4.251 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/19.82, allocations: 3.75 kB / 4.251 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/19.82, allocations: 7.156 kB / 4.251 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/19.82, allocations: 14.69 kB / 4.251 GB, free: 188.1 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.006975/19.83, allocations: 4.467 MB / 4.255 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/19.83, allocations: 440.8 kB / 4.256 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/19.83, allocations: 248 kB / 4.256 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/19.83, allocations: 195.2 kB / 4.256 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006182/19.83, allocations: 266.6 kB / 4.257 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 3.277e-06/19.83, allocations: 0 / 4.257 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001806/19.83, allocations: 493 kB / 4.257 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/19.83, allocations: 88.67 kB / 4.257 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/19.84, allocations: 0.8429 MB / 4.258 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/19.84, allocations: 35.17 kB / 4.258 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/19.84, allocations: 494.8 kB / 4.258 GB, free: 184 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/19.84, allocations: 97.48 kB / 4.259 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/19.84, allocations: 0 / 4.259 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001147/19.84, allocations: 330.8 kB / 4.259 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/19.84, allocations: 177.4 kB / 4.259 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/19.84, allocations: 0.4921 MB / 4.26 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/19.84, allocations: 262.5 kB / 4.26 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/19.84, allocations: 7.781 kB / 4.26 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00172/19.84, allocations: 0.606 MB / 4.26 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009575/19.84, allocations: 2.137 MB / 4.262 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/19.84, allocations: 10.03 kB / 4.262 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/19.84, allocations: 5.781 kB / 4.262 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/19.84, allocations: 111.2 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/19.84, allocations: 12.28 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/19.84, allocations: 86.38 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/19.84, allocations: 24.41 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/19.84, allocations: 5 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007258/19.84, allocations: 420.7 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/19.84, allocations: 3.781 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/19.84, allocations: 7.75 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/19.85, allocations: 107.4 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/19.85, allocations: 13.48 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/19.85, allocations: 78.47 kB / 4.263 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/19.85, allocations: 24.69 kB / 4.263 GB, free: 180.9 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.0002543/19.85, allocations: 137.8 kB / 4.263 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001046/19.85, allocations: 413.6 kB / 4.264 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/19.85, allocations: 95.44 kB / 4.264 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/19.85, allocations: 443.5 kB / 4.264 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/19.85, allocations: 3.594 kB / 4.264 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/19.85, allocations: 6.109 kB / 4.264 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/19.85, allocations: 6.344 kB / 4.264 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/19.85, allocations: 1.248 MB / 4.266 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/19.85, allocations: 3.781 kB / 4.266 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/19.85, allocations: 72 kB / 4.266 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/19.85, allocations: 3.938 kB / 4.266 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/19.85, allocations: 6.625 kB / 4.266 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/19.85, allocations: 3.594 kB / 4.266 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/19.85, allocations: 3.844 kB / 4.266 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009647/19.85, allocations: 0.6362 MB / 4.266 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/19.86, allocations: 206.3 kB / 4.266 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/19.86, allocations: 3.938 kB / 4.267 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/19.86, allocations: 55.52 kB / 4.267 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/19.86, allocations: 37.69 kB / 4.267 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/19.86, allocations: 7.688 kB / 4.267 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001296/19.86, allocations: 0.6645 MB / 4.267 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/19.86, allocations: 0 / 4.267 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002615/19.86, allocations: 448.9 kB / 4.268 GB, free: 179.6 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.003974/19.86, allocations: 2.576 MB / 4.27 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001876/19.87, allocations: 0.7551 MB / 4.271 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/19.87, allocations: 0 / 4.271 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/19.87, allocations: 185.4 kB / 4.271 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/19.87, allocations: 395.3 kB / 4.271 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/19.88, allocations: 1.605 MB / 4.273 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/19.88, allocations: 1.199 MB / 4.274 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003658/19.88, allocations: 0.7666 MB / 4.275 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/19.88, allocations: 302.5 kB / 4.275 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/19.88, allocations: 3.969 kB / 4.275 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/19.99, allocations: 29.88 MB / 4.304 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/19.99, allocations: 185.4 kB / 4.305 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.007/24.99, allocations: 0 / 4.305 GB, free: 168.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)