Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IDEAS_dev_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.00103/0.00103, 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.7317/0.7317, allocations: 133.4 MB / 146.7 MB, free: 10.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.505/1.505, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.001288/0.001288, allocations: 105.5 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.067e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1609, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.258/4.419, allocations: 1.832 GB / 2.473 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/4.419, allocations: 93.25 kB / 2.473 GB, free: 63.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.086/10.51, allocations: 1.802 GB / 4.275 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/10.51, allocations: 0 / 4.275 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001626/10.51, allocations: 31.98 kB / 4.275 GB, free: 89.56 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.003972/10.51, allocations: 1.231 MB / 4.276 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/10.51, allocations: 12.03 kB / 4.276 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003404/10.51, allocations: 94.52 kB / 4.276 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/10.51, allocations: 186.5 kB / 4.277 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/10.51, allocations: 1.381 MB / 4.278 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/10.51, allocations: 48.88 kB / 4.278 GB, free: 86.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/10.52, allocations: 64 kB / 4.278 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/10.52, allocations: 0.7534 MB / 4.279 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/10.52, allocations: 4 kB / 4.279 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/10.52, allocations: 23.94 kB / 4.279 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/10.52, allocations: 20 kB / 4.279 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/10.52, allocations: 498.6 kB / 4.279 GB, free: 85.06 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.003419/10.52, allocations: 4.231 MB / 4.283 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/10.52, allocations: 392.1 kB / 4.284 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/10.52, allocations: 318.1 kB / 4.284 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/10.52, allocations: 194.2 kB / 4.284 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/10.52, allocations: 303.1 kB / 4.285 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003718/10.52, allocations: 39.59 kB / 4.285 GB, free: 79.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/10.52, allocations: 112 / 4.285 GB, free: 79.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001291/10.52, allocations: 0.712 MB / 4.285 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/10.52, allocations: 81.11 kB / 4.285 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/10.52, allocations: 1.005 MB / 4.286 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/10.52, allocations: 37.7 kB / 4.286 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/10.52, allocations: 492.7 kB / 4.287 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/10.52, allocations: 122.3 kB / 4.287 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/10.53, allocations: 12 kB / 4.287 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.591e-05/10.53, allocations: 329.9 kB / 4.287 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/10.53, allocations: 181 kB / 4.287 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006575/10.53, allocations: 0.507 MB / 4.288 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/10.53, allocations: 295.6 kB / 4.288 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/10.53, allocations: 4 kB / 4.288 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002096/10.53, allocations: 0.9163 MB / 4.289 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/10.53, allocations: 2.14 MB / 4.291 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/10.53, allocations: 8 kB / 4.291 GB, free: 72.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/10.53, allocations: 246.5 kB / 4.291 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/10.53, allocations: 71.84 kB / 4.292 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008097/10.53, allocations: 1.027 MB / 4.293 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/10.53, allocations: 87.88 kB / 4.293 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/10.53, allocations: 24 kB / 4.293 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/10.53, allocations: 4 kB / 4.293 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/10.53, allocations: 0.7319 MB / 4.293 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/10.53, allocations: 7.953 kB / 4.293 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/10.53, allocations: 245 kB / 4.294 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/10.53, allocations: 67.89 kB / 4.294 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/10.54, allocations: 2.985 MB / 4.297 GB, free: 66.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/10.54, allocations: 87.81 kB / 4.297 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/10.54, allocations: 27.98 kB / 4.297 GB, free: 66.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_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.0001237/10.54, allocations: 138.8 kB / 4.297 GB, free: 66.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/10.54, allocations: 110.9 kB / 4.297 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/10.54, allocations: 0.7267 MB / 4.298 GB, free: 65.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/10.54, allocations: 7.984 kB / 4.298 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/10.54, allocations: 0 / 4.298 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/10.54, allocations: 7.984 kB / 4.298 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/10.54, allocations: 1.69 MB / 4.299 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/10.54, allocations: 4.219 kB / 4.299 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/10.54, allocations: 31.97 kB / 4.299 GB, free: 63.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/10.54, allocations: 239 kB / 4.3 GB, free: 63.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/10.54, allocations: 11.95 kB / 4.3 GB, free: 63.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006782/10.54, allocations: 0.9971 MB / 4.301 GB, free: 62.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/10.54, allocations: 0 / 4.301 GB, free: 62.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/10.54, allocations: 0.9446 MB / 4.301 GB, free: 61.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/10.54, allocations: 223.8 kB / 4.302 GB, free: 60.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/10.54, allocations: 8 kB / 4.302 GB, free: 60.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/10.54, allocations: 63.83 kB / 4.302 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/10.54, allocations: 39.91 kB / 4.302 GB, free: 60.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/10.54, allocations: 12 kB / 4.302 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008501/10.55, allocations: 0.7933 MB / 4.303 GB, free: 60.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/10.55, allocations: 0 / 4.303 GB, free: 60.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001532/10.55, allocations: 0.5464 MB / 4.303 GB, free: 59.49 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.002269/10.55, allocations: 2.679 MB / 4.306 GB, free: 56.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001425/10.55, allocations: 1.074 MB / 4.307 GB, free: 55.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/10.55, allocations: 4.062 kB / 4.307 GB, free: 55.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/10.55, allocations: 218.6 kB / 4.307 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/10.55, allocations: 0.6354 MB / 4.308 GB, free: 54.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/10.56, allocations: 1.681 MB / 4.309 GB, free: 53.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/10.56, allocations: 1.207 MB / 4.31 GB, free: 51.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001765/10.56, allocations: 0.7067 MB / 4.311 GB, free: 51.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/10.56, allocations: 303.3 kB / 4.311 GB, free: 50.8 MB / 0.6823 GB Notification: Performance of SimCode: time 8.21e-07/10.56, allocations: 0 / 4.311 GB, free: 50.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.791/12.35, allocations: 48.07 MB / 4.358 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/12.35, allocations: 245.7 kB / 4.359 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.192/16.54, allocations: 4 kB / 4.359 GB, free: 2.723 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)