Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8362/0.8362, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 181 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.2 MB / 447.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009272, allocations: 96.25 kB / 0.5187 GB, free: 1.199 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 286.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004499, allocations: 17.03 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1904, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.988/5.178, allocations: 1.832 GB / 2.606 GB, free: 245.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/5.179, allocations: 109.2 kB / 2.606 GB, free: 245.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.801/11.98, allocations: 1.816 GB / 4.422 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.835e-06/11.98, allocations: 7.938 kB / 4.422 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002065/11.98, allocations: 31.98 kB / 4.422 GB, free: 105.4 MB / 0.7136 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.005986/11.99, allocations: 1.529 MB / 4.423 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/11.99, allocations: 12.02 kB / 4.423 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004958/11.99, allocations: 94.52 kB / 4.424 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/11.99, allocations: 182.5 kB / 4.424 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/11.99, allocations: 1.428 MB / 4.425 GB, free: 102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/11.99, allocations: 52.95 kB / 4.425 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/11.99, allocations: 56 kB / 4.425 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/11.99, allocations: 0.7888 MB / 4.426 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/11.99, allocations: 7.984 kB / 4.426 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/11.99, allocations: 20 kB / 4.426 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/11.99, allocations: 19.94 kB / 4.426 GB, free: 101 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/12, allocations: 0.5345 MB / 4.427 GB, free: 100.4 MB / 0.7136 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.004666/12, allocations: 4.213 MB / 4.431 GB, free: 95.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/12, allocations: 418.3 kB / 4.431 GB, free: 95.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/12, allocations: 190.2 kB / 4.431 GB, free: 95.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004652/12, allocations: 323.7 kB / 4.432 GB, free: 94.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005357/12, allocations: 35.64 kB / 4.432 GB, free: 94.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/12, allocations: 0 / 4.432 GB, free: 94.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001478/12, allocations: 0.6783 MB / 4.432 GB, free: 94.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/12, allocations: 81.11 kB / 4.432 GB, free: 94.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/12.01, allocations: 1.02 MB / 4.433 GB, free: 93.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/12.01, allocations: 37.7 kB / 4.433 GB, free: 93.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/12.01, allocations: 484.9 kB / 4.434 GB, free: 92.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/12.01, allocations: 122.4 kB / 4.434 GB, free: 92.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/12.01, allocations: 16 kB / 4.434 GB, free: 92.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.66e-05/12.01, allocations: 326 kB / 4.434 GB, free: 92.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/12.01, allocations: 197 kB / 4.434 GB, free: 91.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/12.01, allocations: 0.5216 MB / 4.435 GB, free: 91.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/12.01, allocations: 310.1 kB / 4.435 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/12.01, allocations: 0 / 4.435 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001141/12.01, allocations: 0.7052 MB / 4.436 GB, free: 90.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005184/12.01, allocations: 2.144 MB / 4.438 GB, free: 87.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/12.01, allocations: 4 kB / 4.438 GB, free: 87.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/12.01, allocations: 12 kB / 4.438 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/12.01, allocations: 111.9 kB / 4.438 GB, free: 87.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/12.01, allocations: 15.92 kB / 4.438 GB, free: 87.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/12.01, allocations: 87.81 kB / 4.438 GB, free: 87.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/12.01, allocations: 24 kB / 4.438 GB, free: 87.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/12.01, allocations: 4.625 kB / 4.438 GB, free: 87.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008707/12.01, allocations: 0.5654 MB / 4.439 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/12.01, allocations: 8 kB / 4.439 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/12.01, allocations: 8 kB / 4.439 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/12.01, allocations: 112.2 kB / 4.439 GB, free: 87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/12.01, allocations: 16.31 kB / 4.439 GB, free: 86.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/12.01, allocations: 99.69 kB / 4.439 GB, free: 86.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/12.01, allocations: 24 kB / 4.439 GB, free: 86.86 MB / 0.7136 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.0005786/12.01, allocations: 469.5 kB / 4.44 GB, free: 86.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/12.01, allocations: 110.7 kB / 4.44 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009525/12.01, allocations: 0.5349 MB / 4.44 GB, free: 85.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/12.01, allocations: 4 kB / 4.44 GB, free: 85.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/12.01, allocations: 3.953 kB / 4.44 GB, free: 85.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/12.01, allocations: 3.984 kB / 4.44 GB, free: 85.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/12.02, allocations: 1.475 MB / 4.442 GB, free: 84.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/12.02, allocations: 4 kB / 4.442 GB, free: 84.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/12.02, allocations: 79.88 kB / 4.442 GB, free: 84.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/12.02, allocations: 4 kB / 4.442 GB, free: 84.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/12.02, allocations: 8 kB / 4.442 GB, free: 84.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/12.02, allocations: 4 kB / 4.442 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/12.02, allocations: 3.938 kB / 4.442 GB, free: 84.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/12.02, allocations: 0.7275 MB / 4.442 GB, free: 83.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/12.02, allocations: 231.7 kB / 4.443 GB, free: 83.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/12.02, allocations: 8 kB / 4.443 GB, free: 83.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/12.02, allocations: 71.75 kB / 4.443 GB, free: 82.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/12.02, allocations: 35.86 kB / 4.443 GB, free: 82.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/12.02, allocations: 15.98 kB / 4.443 GB, free: 82.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009046/12.02, allocations: 0.8082 MB / 4.444 GB, free: 82.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/12.02, allocations: 0 / 4.444 GB, free: 82.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00153/12.02, allocations: 495.7 kB / 4.444 GB, free: 81.6 MB / 0.7136 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.002437/12.02, allocations: 2.638 MB / 4.447 GB, free: 78.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001411/12.03, allocations: 0.8563 MB / 4.447 GB, free: 78.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/12.03, allocations: 4.062 kB / 4.447 GB, free: 78.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/12.03, allocations: 230.6 kB / 4.448 GB, free: 77.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/12.03, allocations: 0.6344 MB / 4.448 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/12.04, allocations: 9.77 MB / 4.458 GB, free: 67.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/12.04, allocations: 1.197 MB / 4.459 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001323/12.04, allocations: 416.2 kB / 4.459 GB, free: 65.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/12.04, allocations: 339.3 kB / 4.46 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.603e-06/12.04, allocations: 0 / 4.46 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/12.11, allocations: 43.01 MB / 4.502 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/12.11, allocations: 255.9 kB / 4.502 GB, free: 22.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/16, allocations: 0 / 4.502 GB, free: 22.14 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)