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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002818/0.002818, allocations: 174 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.578/2.578, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.203/1.203, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009343/0.0009351, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3343, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 1.086/1.42, allocations: 135.7 MB / 0.6892 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008401/1.429, allocations: 3.108 MB / 0.6923 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/1.429, allocations: 7.938 kB / 0.6923 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/1.431, allocations: 187.1 kB / 0.6925 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003179/1.434, allocations: 0.5024 MB / 0.6929 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/1.437, allocations: 451.9 kB / 0.6934 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003367/1.44, allocations: 1.514 MB / 0.6949 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004964/1.445, allocations: 2.184 MB / 0.697 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/1.448, allocations: 0.7162 MB / 0.6977 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/1.449, allocations: 485.9 kB / 0.6982 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/1.45, allocations: 32 kB / 0.6982 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/1.452, allocations: 415.4 kB / 0.6986 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005757/1.452, allocations: 263.1 kB / 0.6988 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006879/1.453, allocations: 233.1 kB / 0.6991 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/1.455, allocations: 0.9868 MB / 0.7 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/1.455, allocations: 0 / 0.7 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.881e-06/1.455, allocations: 0 / 0.7 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.335e-05/1.455, allocations: 0 / 0.7 GB, free: 7.457 MB / 0.5137 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.00404/1.459, allocations: 1.32 MB / 0.7013 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.918e-05/1.459, allocations: 8.031 kB / 0.7013 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/1.46, allocations: 94.52 kB / 0.7014 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/1.461, allocations: 186.5 kB / 0.7016 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/1.464, allocations: 0.7925 MB / 0.7024 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/1.464, allocations: 45 kB / 0.7024 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.464, allocations: 59.98 kB / 0.7025 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/1.466, allocations: 0.8238 MB / 0.7033 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/1.466, allocations: 3.938 kB / 0.7033 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.401e-05/1.466, allocations: 28 kB / 0.7033 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/1.466, allocations: 12 kB / 0.7033 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/1.468, allocations: 0.5735 MB / 0.7039 GB, free: 3.32 MB / 0.5137 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.007679/1.476, allocations: 4.267 MB / 0.708 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/1.477, allocations: 450.2 kB / 0.7085 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/1.477, allocations: 20.55 kB / 0.7085 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009759/1.478, allocations: 331.9 kB / 0.7088 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006725/1.479, allocations: 31.69 kB / 0.7088 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.967e-06/1.479, allocations: 0 / 0.7088 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002622/1.482, allocations: 0.7272 MB / 0.7095 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.482, allocations: 114.8 kB / 0.7096 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/1.484, allocations: 1.151 MB / 0.7108 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.485, allocations: 41.7 kB / 0.7108 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/1.485, allocations: 484.5 kB / 0.7113 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.485, allocations: 110.4 kB / 0.7114 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/1.485, allocations: 8 kB / 0.7114 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002175/1.486, allocations: 330 kB / 0.7117 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/1.486, allocations: 209 kB / 0.7119 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.487, allocations: 0.5111 MB / 0.7124 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/1.488, allocations: 317.7 kB / 0.7127 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.488, allocations: 0 / 0.7127 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002354/1.491, allocations: 0.7337 MB / 0.7134 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001797/1.493, allocations: 2.141 MB / 0.7155 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.493, allocations: 4 kB / 0.7155 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.71e-05/1.493, allocations: 8 kB / 0.7155 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/1.494, allocations: 115.8 kB / 0.7156 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/1.494, allocations: 11.98 kB / 0.7156 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.496, allocations: 91.75 kB / 0.7157 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.496, allocations: 24 kB / 0.7157 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.496, allocations: 4 kB / 0.7158 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001663/1.497, allocations: 0.5794 MB / 0.7163 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.497, allocations: 4.109 kB / 0.7163 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.497, allocations: 16.56 kB / 0.7163 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/1.498, allocations: 119.8 kB / 0.7165 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/1.498, allocations: 8 kB / 0.7165 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.5, allocations: 87.75 kB / 0.7165 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/1.5, allocations: 27.94 kB / 0.7166 GB, free: 5.621 MB / 0.5294 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 () * Number of clocked 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.001404/1.502, allocations: 462.8 kB / 0.717 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/1.502, allocations: 106.7 kB / 0.7171 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/1.504, allocations: 0.5266 MB / 0.7176 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/1.504, allocations: 7.953 kB / 0.7176 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.504, allocations: 0 / 0.7176 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.504, allocations: 0 / 0.7176 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/1.507, allocations: 1.181 MB / 0.7188 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.507, allocations: 12.16 kB / 0.7188 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/1.507, allocations: 71.89 kB / 0.7189 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/1.508, allocations: 4 kB / 0.7189 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/1.508, allocations: 11.98 kB / 0.7189 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/1.508, allocations: 4 kB / 0.7189 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.508, allocations: 0 / 0.7189 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.509, allocations: 0.682 MB / 0.7196 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/1.51, allocations: 235.7 kB / 0.7198 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/1.51, allocations: 12 kB / 0.7198 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.511, allocations: 71.77 kB / 0.7199 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.512, allocations: 35.84 kB / 0.7199 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/1.512, allocations: 12 kB / 0.7199 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002195/1.514, allocations: 0.812 MB / 0.7207 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.514, allocations: 0 / 0.7207 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002793/1.517, allocations: 423.5 kB / 0.7211 GB, free: 0.7773 MB / 0.5294 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) * Number of clocked states: 0 () * 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.00331/1.52, allocations: 1.798 MB / 0.7229 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002777/1.523, allocations: 0.8885 MB / 0.7237 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.523, allocations: 4 kB / 0.7237 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/1.524, allocations: 235 kB / 0.724 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006305/1.53, allocations: 0.6309 MB / 0.7246 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/1.553, allocations: 9.783 MB / 0.7341 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.554, allocations: 1.197 MB / 0.7353 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003286/1.557, allocations: 440 kB / 0.7357 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008642/1.558, allocations: 343.3 kB / 0.736 GB, free: 1.035 MB / 0.545 GB Notification: Performance of SimCode: time 2.715e-06/1.558, allocations: 0 / 0.736 GB, free: 1.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09927/1.658, allocations: 28.48 MB / 0.7639 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003326/1.658, allocations: 243.5 kB / 0.7641 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.041/5.699, allocations: 0 / 0.7641 GB, free: 4.719 MB / 0.5762 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) Environment - environmentSimulation: