Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7385/0.7385, allocations: 128.7 MB / 143.7 MB, free: 2.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 168.5 kB / 173.7 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 93.19 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 11.33 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1543, allocations: 76.78 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.067, allocations: 2.139 GB / 2.774 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/5.068, allocations: 99.23 kB / 2.774 GB, free: 237.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.919/10.99, allocations: 1.762 GB / 4.536 GB, free: 162 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.766e-06/10.99, allocations: 0 / 4.536 GB, free: 162 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001092/10.99, allocations: 32.11 kB / 4.536 GB, free: 162 MB / 0.6511 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.002886/10.99, allocations: 1.422 MB / 4.537 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/10.99, allocations: 11.44 kB / 4.537 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/10.99, allocations: 101.2 kB / 4.537 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007744/10.99, allocations: 180.6 kB / 4.538 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/10.99, allocations: 1.108 MB / 4.539 GB, free: 161 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/10.99, allocations: 43.44 kB / 4.539 GB, free: 161 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-05/10.99, allocations: 65.64 kB / 4.539 GB, free: 161 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/11, allocations: 1.241 MB / 4.54 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/11, allocations: 3.094 kB / 4.54 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/11, allocations: 25.28 kB / 4.54 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/11, allocations: 15.12 kB / 4.54 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/11, allocations: 0.9935 MB / 4.541 GB, free: 160.8 MB / 0.6511 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.00471/11, allocations: 4.427 MB / 4.545 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/11.01, allocations: 0.9319 MB / 4.546 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/11.01, allocations: 196.3 kB / 4.546 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002709/11.01, allocations: 0.7697 MB / 4.547 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/11.01, allocations: 0 / 4.547 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.006052/11.02, allocations: 1.586 MB / 4.549 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/11.02, allocations: 86.97 kB / 4.549 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/11.02, allocations: 0.9785 MB / 4.55 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/11.02, allocations: 39.77 kB / 4.55 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/11.02, allocations: 0.4987 MB / 4.55 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/11.02, allocations: 112.6 kB / 4.55 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/11.02, allocations: 7.719 kB / 4.55 GB, free: 156.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/11.02, allocations: 324.4 kB / 4.551 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/11.02, allocations: 375 kB / 4.551 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009506/11.02, allocations: 0.6713 MB / 4.552 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/11.02, allocations: 454.8 kB / 4.552 GB, free: 156 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/11.02, allocations: 3.562 kB / 4.552 GB, free: 156 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002098/11.02, allocations: 1.015 MB / 4.553 GB, free: 155.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006277/11.02, allocations: 2.052 MB / 4.555 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/11.02, allocations: 7.844 kB / 4.555 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/11.02, allocations: 10.66 kB / 4.555 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/11.03, allocations: 183.6 kB / 4.555 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/11.03, allocations: 12.97 kB / 4.555 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/11.03, allocations: 173.4 kB / 4.556 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/11.03, allocations: 32.34 kB / 4.556 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/11.03, allocations: 3.875 kB / 4.556 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008333/11.03, allocations: 0.5312 MB / 4.556 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/11.03, allocations: 5.719 kB / 4.556 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/11.03, allocations: 14.45 kB / 4.556 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/11.03, allocations: 105.1 kB / 4.556 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/11.03, allocations: 13.55 kB / 4.556 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009714/11.03, allocations: 97.17 kB / 4.556 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/11.03, allocations: 23.06 kB / 4.556 GB, free: 153.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0006884/11.03, allocations: 469 kB / 4.557 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/11.03, allocations: 97.69 kB / 4.557 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/11.03, allocations: 120.6 kB / 4.557 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/11.03, allocations: 8.359 kB / 4.557 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/11.03, allocations: 0 / 4.557 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/11.03, allocations: 3.906 kB / 4.557 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/11.03, allocations: 1.875 MB / 4.559 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/11.03, allocations: 0 / 4.559 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/11.03, allocations: 143.9 kB / 4.559 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/11.03, allocations: 3.719 kB / 4.559 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/11.03, allocations: 10.84 kB / 4.559 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/11.03, allocations: 2.781 kB / 4.559 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/11.03, allocations: 3.562 kB / 4.559 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/11.04, allocations: 1.023 MB / 4.56 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/11.04, allocations: 175.1 kB / 4.56 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/11.04, allocations: 11.67 kB / 4.56 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/11.04, allocations: 119.1 kB / 4.56 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/11.04, allocations: 35.5 kB / 4.56 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/11.04, allocations: 13.28 kB / 4.56 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001097/11.04, allocations: 0.7803 MB / 4.561 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.21e-07/11.04, allocations: 0 / 4.561 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001905/11.04, allocations: 487.7 kB / 4.562 GB, free: 152.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * 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.003444/11.04, allocations: 2.777 MB / 4.564 GB, free: 151 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002293/11.05, allocations: 1.164 MB / 4.565 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/11.05, allocations: 0 / 4.565 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007403/11.05, allocations: 392 kB / 4.566 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/11.05, allocations: 454.3 kB / 4.566 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/11.06, allocations: 10.31 MB / 4.576 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/11.07, allocations: 1.197 MB / 4.577 GB, free: 145 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001497/11.07, allocations: 429.7 kB / 4.578 GB, free: 145 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/11.07, allocations: 343.3 kB / 4.578 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.393e-06/11.07, allocations: 0 / 4.578 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/11.14, allocations: 42.31 MB / 4.619 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/11.14, allocations: 252.6 kB / 4.62 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.684/14.83, allocations: 6.734 kB / 4.62 GB, free: 122.9 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)