Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.001293/0.001293, allocations: 177.2 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4941/0.4941, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 97.81 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.713e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 72.32 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.019/4.15, allocations: 1.825 GB / 2.378 GB, free: 110 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/4.151, allocations: 93.94 kB / 2.378 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.178/10.33, allocations: 1.796 GB / 4.174 GB, free: 160 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/10.33, allocations: 0 / 4.174 GB, free: 160 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001882/10.33, allocations: 33.64 kB / 4.174 GB, free: 160 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004354/10.33, allocations: 1.247 MB / 4.175 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/10.33, allocations: 12.81 kB / 4.175 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/10.33, allocations: 186.8 kB / 4.176 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004022/10.34, allocations: 1.4 MB / 4.177 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/10.34, allocations: 16.06 kB / 4.177 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/10.34, allocations: 40.64 kB / 4.177 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009174/10.34, allocations: 492.8 kB / 4.177 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/10.34, allocations: 0.7017 MB / 4.178 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/10.34, allocations: 3.531 kB / 4.178 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/10.34, allocations: 3.875 kB / 4.178 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/10.34, allocations: 12.88 kB / 4.178 GB, free: 158.8 MB / 0.6042 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.003971/10.35, allocations: 4.08 MB / 4.182 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/10.35, allocations: 434.4 kB / 4.183 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/10.35, allocations: 318.1 kB / 4.183 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/10.35, allocations: 194.1 kB / 4.183 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/10.35, allocations: 279.2 kB / 4.183 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003706/10.35, allocations: 22.39 kB / 4.183 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/10.35, allocations: 0 / 4.183 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0009876/10.35, allocations: 0.5022 MB / 4.184 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/10.35, allocations: 95.59 kB / 4.184 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/10.35, allocations: 0.8484 MB / 4.185 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/10.35, allocations: 32.58 kB / 4.185 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/10.35, allocations: 492.4 kB / 4.185 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/10.35, allocations: 108.7 kB / 4.185 GB, free: 155 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/10.35, allocations: 0 / 4.185 GB, free: 155 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/10.35, allocations: 325.5 kB / 4.186 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/10.35, allocations: 195.3 kB / 4.186 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/10.35, allocations: 0.5035 MB / 4.186 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/10.35, allocations: 278.4 kB / 4.187 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/10.35, allocations: 0 / 4.187 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007825/10.35, allocations: 0.6353 MB / 4.187 GB, free: 154 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004517/10.35, allocations: 2.137 MB / 4.189 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/10.35, allocations: 14.34 kB / 4.189 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/10.35, allocations: 7.656 kB / 4.189 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/10.35, allocations: 117.1 kB / 4.189 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/10.35, allocations: 7.344 kB / 4.189 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/10.35, allocations: 81.27 kB / 4.19 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/10.35, allocations: 24 kB / 4.19 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/10.35, allocations: 3.906 kB / 4.19 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00055/10.35, allocations: 447.4 kB / 4.19 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/10.35, allocations: 7 kB / 4.19 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/10.35, allocations: 7.469 kB / 4.19 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/10.35, allocations: 118.5 kB / 4.19 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/10.35, allocations: 10.56 kB / 4.19 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/10.36, allocations: 81.14 kB / 4.19 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/10.36, allocations: 23.19 kB / 4.19 GB, free: 151.6 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_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 (55): * Single equations (assignments): 54 * 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.0001178/10.36, allocations: 131.6 kB / 4.19 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005002/10.36, allocations: 438.4 kB / 4.191 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/10.36, allocations: 98.31 kB / 4.191 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/10.36, allocations: 463.9 kB / 4.191 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/10.36, allocations: 7.625 kB / 4.191 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/10.36, allocations: 6.484 kB / 4.191 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/10.36, allocations: 0 / 4.191 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/10.36, allocations: 1.347 MB / 4.193 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/10.36, allocations: 0 / 4.193 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/10.36, allocations: 69.34 kB / 4.193 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/10.36, allocations: 6.75 kB / 4.193 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/10.36, allocations: 7.156 kB / 4.193 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/10.36, allocations: 3.75 kB / 4.193 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/10.36, allocations: 3.188 kB / 4.193 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/10.36, allocations: 0.6675 MB / 4.193 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/10.36, allocations: 221.2 kB / 4.194 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/10.36, allocations: 3.75 kB / 4.194 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/10.36, allocations: 62.61 kB / 4.194 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/10.36, allocations: 41.34 kB / 4.194 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/10.36, allocations: 10.22 kB / 4.194 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006275/10.36, allocations: 0.6675 MB / 4.194 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/10.36, allocations: 0 / 4.194 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001242/10.36, allocations: 475.4 kB / 4.195 GB, free: 149.4 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.00201/10.36, allocations: 2.691 MB / 4.197 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009838/10.36, allocations: 0.8137 MB / 4.198 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/10.36, allocations: 0 / 4.198 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/10.37, allocations: 198.7 kB / 4.198 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/10.37, allocations: 0.54 MB / 4.199 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/10.37, allocations: 1.614 MB / 4.201 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/10.37, allocations: 1.2 MB / 4.202 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001815/10.37, allocations: 0.7569 MB / 4.202 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/10.37, allocations: 314.5 kB / 4.203 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.273e-06/10.37, allocations: 0 / 4.203 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05365/10.43, allocations: 32.14 MB / 4.234 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/10.43, allocations: 184.8 kB / 4.234 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.808/13.24, allocations: 0 / 4.234 GB, free: 123.3 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)