Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.001768/0.001768, allocations: 174.7 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.7883/0.7883, 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.526/1.526, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.000991/0.000991, allocations: 104.2 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.414e-05/4.43e-05, allocations: 3.375 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1567, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.522/4.679, allocations: 1.832 GB / 2.473 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/4.679, allocations: 94.81 kB / 2.473 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.729/11.41, allocations: 1.802 GB / 4.275 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.402e-06/11.41, allocations: 4 kB / 4.275 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001557/11.41, allocations: 31.98 kB / 4.275 GB, free: 125.1 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.003666/11.41, allocations: 1.235 MB / 4.276 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/11.41, allocations: 8.031 kB / 4.276 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/11.41, allocations: 94.52 kB / 4.276 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/11.41, allocations: 182.5 kB / 4.277 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/11.42, allocations: 1.373 MB / 4.278 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/11.42, allocations: 49 kB / 4.278 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/11.42, allocations: 63.95 kB / 4.278 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/11.42, allocations: 0.7573 MB / 4.279 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/11.42, allocations: 7.938 kB / 4.279 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/11.42, allocations: 24 kB / 4.279 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/11.42, allocations: 16 kB / 4.279 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/11.42, allocations: 0.4907 MB / 4.279 GB, free: 120.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.003273/11.42, allocations: 4.225 MB / 4.283 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/11.42, allocations: 395.9 kB / 4.284 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/11.42, allocations: 318.1 kB / 4.284 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/11.42, allocations: 194.2 kB / 4.284 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/11.42, allocations: 295.2 kB / 4.285 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003155/11.42, allocations: 43.59 kB / 4.285 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.524e-06/11.42, allocations: 0 / 4.285 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00123/11.43, allocations: 0.712 MB / 4.285 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/11.43, allocations: 85.11 kB / 4.285 GB, free: 114 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/11.43, allocations: 1.005 MB / 4.286 GB, free: 113 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/11.43, allocations: 41.7 kB / 4.286 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/11.43, allocations: 489.7 kB / 4.287 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/11.43, allocations: 118.3 kB / 4.287 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/11.43, allocations: 12.11 kB / 4.287 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/11.43, allocations: 329.9 kB / 4.287 GB, free: 112 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/11.43, allocations: 181 kB / 4.287 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/11.43, allocations: 0.507 MB / 4.288 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/11.43, allocations: 299.7 kB / 4.288 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/11.43, allocations: 4 kB / 4.288 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001164/11.43, allocations: 0.916 MB / 4.289 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003722/11.43, allocations: 2.132 MB / 4.291 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/11.43, allocations: 4 kB / 4.291 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/11.43, allocations: 254.5 kB / 4.291 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/11.43, allocations: 67.84 kB / 4.292 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008144/11.43, allocations: 1.031 MB / 4.293 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/11.43, allocations: 91.81 kB / 4.293 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/11.43, allocations: 27.98 kB / 4.293 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/11.43, allocations: 4 kB / 4.293 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/11.43, allocations: 0.7279 MB / 4.293 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/11.43, allocations: 4 kB / 4.293 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/11.43, allocations: 241.2 kB / 4.294 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/11.43, allocations: 75.83 kB / 4.294 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/11.44, allocations: 2.992 MB / 4.297 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/11.44, allocations: 91.81 kB / 4.297 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/11.44, allocations: 24 kB / 4.297 GB, free: 101.8 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001503/11.44, allocations: 136.9 kB / 4.297 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/11.44, allocations: 102.7 kB / 4.297 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/11.44, allocations: 0.7384 MB / 4.298 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/11.44, allocations: 4 kB / 4.298 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/11.44, allocations: 0 / 4.298 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/11.44, allocations: 3.984 kB / 4.298 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/11.44, allocations: 1.683 MB / 4.299 GB, free: 99.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/11.44, allocations: 0 / 4.299 GB, free: 99.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/11.44, allocations: 35.97 kB / 4.299 GB, free: 99.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/11.44, allocations: 246.9 kB / 4.3 GB, free: 98.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/11.44, allocations: 8 kB / 4.3 GB, free: 98.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006688/11.44, allocations: 0.9971 MB / 4.301 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/11.44, allocations: 3.938 kB / 4.301 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/11.44, allocations: 0.9369 MB / 4.301 GB, free: 96.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/11.44, allocations: 223.8 kB / 4.302 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/11.44, allocations: 11.98 kB / 4.302 GB, free: 96.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/11.45, allocations: 67.77 kB / 4.302 GB, free: 96.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/11.45, allocations: 39.86 kB / 4.302 GB, free: 96.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/11.45, allocations: 15.98 kB / 4.302 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008322/11.45, allocations: 0.7971 MB / 4.303 GB, free: 95.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/11.45, allocations: 3.938 kB / 4.303 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001543/11.45, allocations: 0.5348 MB / 4.303 GB, free: 95.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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/11.45, allocations: 2.687 MB / 4.306 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001603/11.45, allocations: 1.07 MB / 4.307 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/11.45, allocations: 0 / 4.307 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/11.45, allocations: 230.5 kB / 4.307 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/11.45, allocations: 0.6285 MB / 4.308 GB, free: 90.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/11.46, allocations: 1.673 MB / 4.309 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/11.46, allocations: 1.207 MB / 4.31 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001638/11.46, allocations: 0.7145 MB / 4.311 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/11.46, allocations: 307.3 kB / 4.311 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/11.46, allocations: 0 / 4.311 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/11.53, allocations: 48.05 MB / 4.358 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/11.53, allocations: 233.8 kB / 4.359 GB, free: 38.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/14.99, allocations: 8 kB / 4.359 GB, free: 38.27 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)