Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_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.002058/0.002058, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6429/0.6429, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009068/0.0009073, allocations: 100.2 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 19.98 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1584, allocations: 72.3 MB / 0.5689 GB, free: 1.812 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.896/5.055, allocations: 1.823 GB / 2.392 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.055, allocations: 91.95 kB / 2.392 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.272/12.33, allocations: 1.804 GB / 4.195 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.016e-06/12.33, allocations: 0 / 4.195 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000238/12.33, allocations: 31.98 kB / 4.195 GB, free: 66.83 MB / 0.6042 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.005989/12.33, allocations: 1.509 MB / 4.197 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/12.33, allocations: 12.02 kB / 4.197 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004129/12.33, allocations: 94.52 kB / 4.197 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/12.33, allocations: 187 kB / 4.197 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/12.34, allocations: 1.401 MB / 4.199 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/12.34, allocations: 48.94 kB / 4.199 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/12.34, allocations: 60 kB / 4.199 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/12.34, allocations: 0.7927 MB / 4.199 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/12.34, allocations: 0 / 4.199 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/12.34, allocations: 24 kB / 4.199 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/12.34, allocations: 12 kB / 4.199 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/12.34, allocations: 0.5384 MB / 4.2 GB, free: 61.96 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003378/12.34, allocations: 4.223 MB / 4.204 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/12.35, allocations: 451.1 kB / 4.204 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/12.35, allocations: 194.2 kB / 4.205 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/12.35, allocations: 323 kB / 4.205 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003497/12.35, allocations: 27.69 kB / 4.205 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/12.35, allocations: 4 kB / 4.205 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.003268/12.35, allocations: 1.365 MB / 4.206 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/12.35, allocations: 85.11 kB / 4.206 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/12.35, allocations: 1.008 MB / 4.207 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/12.35, allocations: 37.7 kB / 4.207 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/12.35, allocations: 496.8 kB / 4.208 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/12.35, allocations: 118.4 kB / 4.208 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/12.35, allocations: 11.94 kB / 4.208 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/12.35, allocations: 326 kB / 4.208 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/12.35, allocations: 201 kB / 4.209 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/12.35, allocations: 0.5295 MB / 4.209 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/12.35, allocations: 314.8 kB / 4.209 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/12.35, allocations: 0 / 4.209 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001352/12.35, allocations: 0.9604 MB / 4.21 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004424/12.35, allocations: 2.139 MB / 4.212 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/12.35, allocations: 4 kB / 4.212 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/12.35, allocations: 253.5 kB / 4.213 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/12.36, allocations: 67.89 kB / 4.213 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008589/12.36, allocations: 1.03 MB / 4.214 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/12.36, allocations: 91.81 kB / 4.214 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/12.36, allocations: 28 kB / 4.214 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/12.36, allocations: 7.953 kB / 4.214 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/12.36, allocations: 0.7729 MB / 4.215 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/12.36, allocations: 11.97 kB / 4.215 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/12.36, allocations: 245.2 kB / 4.215 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/12.36, allocations: 63.91 kB / 4.215 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/12.36, allocations: 3.06 MB / 4.218 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/12.36, allocations: 83.88 kB / 4.218 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/12.36, allocations: 28 kB / 4.218 GB, free: 42.56 MB / 0.6042 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 () * Number of clocked 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.0006227/12.36, allocations: 484 kB / 4.218 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/12.36, allocations: 98.78 kB / 4.219 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/12.37, allocations: 0.7772 MB / 4.219 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/12.37, allocations: 4 kB / 4.219 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/12.37, allocations: 0 / 4.219 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/12.37, allocations: 0 / 4.219 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/12.37, allocations: 1.734 MB / 4.221 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/12.37, allocations: 0 / 4.221 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/12.37, allocations: 27.97 kB / 4.221 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/12.37, allocations: 240.8 kB / 4.221 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/12.37, allocations: 8 kB / 4.221 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007097/12.37, allocations: 1.004 MB / 4.222 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/12.37, allocations: 7.984 kB / 4.222 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/12.37, allocations: 0.9798 MB / 4.223 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/12.37, allocations: 231.7 kB / 4.223 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/12.37, allocations: 8 kB / 4.223 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/12.37, allocations: 67.77 kB / 4.224 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/12.37, allocations: 27.97 kB / 4.224 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/12.37, allocations: 15.98 kB / 4.224 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009753/12.37, allocations: 0.8002 MB / 4.224 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/12.37, allocations: 4 kB / 4.224 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001744/12.37, allocations: 0.5348 MB / 4.225 GB, free: 35.3 MB / 0.6042 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) * Number of clocked states: 0 () * 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.002618/12.38, allocations: 2.731 MB / 4.228 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001839/12.38, allocations: 1.11 MB / 4.229 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/12.38, allocations: 4 kB / 4.229 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004281/12.38, allocations: 247.4 kB / 4.229 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/12.38, allocations: 0.6294 MB / 4.229 GB, free: 30.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/12.39, allocations: 10.04 MB / 4.239 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/12.4, allocations: 1.205 MB / 4.24 GB, free: 18.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00115/12.4, allocations: 316.4 kB / 4.241 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/12.4, allocations: 319.3 kB / 4.241 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/12.4, allocations: 0 / 4.241 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4634/12.86, allocations: 44.35 MB / 4.284 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/12.86, allocations: 275.2 kB / 4.285 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/16.38, allocations: 0 / 4.285 GB, free: 148.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)