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.8778/0.8778, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001207/0.001207, allocations: 176.9 kB / 182.2 MB, free: 9.449 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.464/1.464, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.000973/0.000973, allocations: 84.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 275.2 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.062e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4902, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.454/4.944, allocations: 1.831 GB / 2.589 GB, free: 228.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/4.945, allocations: 91.94 kB / 2.589 GB, free: 228.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.024/10.97, allocations: 1.796 GB / 4.385 GB, free: 33.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/10.97, allocations: 0 / 4.385 GB, free: 33.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001014/10.97, allocations: 27.98 kB / 4.385 GB, free: 33.01 MB / 0.698 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.003362/10.97, allocations: 1.24 MB / 4.386 GB, free: 31.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/10.97, allocations: 8.031 kB / 4.386 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/10.97, allocations: 194.4 kB / 4.386 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/10.98, allocations: 1.401 MB / 4.388 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/10.98, allocations: 16 kB / 4.388 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/10.98, allocations: 36 kB / 4.388 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006679/10.98, allocations: 490.3 kB / 4.388 GB, free: 29.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007987/10.98, allocations: 0.704 MB / 4.389 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/10.98, allocations: 4 kB / 4.389 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/10.98, allocations: 0 / 4.389 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/10.98, allocations: 16 kB / 4.389 GB, free: 28.73 MB / 0.698 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.003226/10.98, allocations: 4.105 MB / 4.393 GB, free: 24.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/10.98, allocations: 431.5 kB / 4.393 GB, free: 23.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/10.98, allocations: 313.2 kB / 4.394 GB, free: 23.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/10.98, allocations: 198.2 kB / 4.394 GB, free: 23.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/10.98, allocations: 284.1 kB / 4.394 GB, free: 23.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002482/10.98, allocations: 11.84 kB / 4.394 GB, free: 23.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/10.98, allocations: 0 / 4.394 GB, free: 23.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0008757/10.98, allocations: 0.5007 MB / 4.395 GB, free: 22.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/10.98, allocations: 85.09 kB / 4.395 GB, free: 22.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/10.98, allocations: 0.8599 MB / 4.396 GB, free: 21.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/10.98, allocations: 29.7 kB / 4.396 GB, free: 21.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/10.98, allocations: 484.2 kB / 4.396 GB, free: 21.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/10.98, allocations: 106.4 kB / 4.396 GB, free: 20.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/10.98, allocations: 0 / 4.396 GB, free: 20.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/10.99, allocations: 330 kB / 4.397 GB, free: 20.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/10.99, allocations: 189 kB / 4.397 GB, free: 20.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/10.99, allocations: 0.5095 MB / 4.397 GB, free: 19.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/10.99, allocations: 274.4 kB / 4.397 GB, free: 19.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/10.99, allocations: 7.938 kB / 4.397 GB, free: 19.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007596/10.99, allocations: 0.6303 MB / 4.398 GB, free: 18.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003935/10.99, allocations: 2.139 MB / 4.4 GB, free: 16.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/10.99, allocations: 8 kB / 4.4 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/10.99, allocations: 8 kB / 4.4 GB, free: 16.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/10.99, allocations: 115.8 kB / 4.4 GB, free: 16.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/10.99, allocations: 15.92 kB / 4.4 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/10.99, allocations: 79.75 kB / 4.4 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/10.99, allocations: 28 kB / 4.4 GB, free: 16.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/10.99, allocations: 5.719 kB / 4.4 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005488/10.99, allocations: 452 kB / 4.401 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/10.99, allocations: 8 kB / 4.401 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/10.99, allocations: 8 kB / 4.401 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/10.99, allocations: 115.8 kB / 4.401 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/10.99, allocations: 11.94 kB / 4.401 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/10.99, allocations: 79.84 kB / 4.401 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/10.99, allocations: 20 kB / 4.401 GB, free: 15.66 MB / 0.698 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.0001303/10.99, allocations: 132.8 kB / 4.401 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004796/10.99, allocations: 428.3 kB / 4.402 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/10.99, allocations: 98.83 kB / 4.402 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/10.99, allocations: 475.2 kB / 4.402 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/10.99, allocations: 4 kB / 4.402 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/10.99, allocations: 0 / 4.402 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/10.99, allocations: 4 kB / 4.402 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/10.99, allocations: 1.332 MB / 4.403 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/10.99, allocations: 4.219 kB / 4.403 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/10.99, allocations: 75.88 kB / 4.404 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/10.99, allocations: 4 kB / 4.404 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/10.99, allocations: 4 kB / 4.404 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/10.99, allocations: 7.938 kB / 4.404 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/10.99, allocations: 7.984 kB / 4.404 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/10.99, allocations: 0.6732 MB / 4.404 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/10.99, allocations: 211.9 kB / 4.404 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/10.99, allocations: 3.984 kB / 4.404 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/11, allocations: 67.77 kB / 4.404 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/11, allocations: 31.92 kB / 4.405 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/11, allocations: 19.98 kB / 4.405 GB, free: 11.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000668/11, allocations: 0.6652 MB / 4.405 GB, free: 11.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/11, allocations: 0 / 4.405 GB, free: 11.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001335/11, allocations: 471.3 kB / 4.406 GB, free: 10.79 MB / 0.698 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.002079/11, allocations: 2.707 MB / 4.408 GB, free: 8.016 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001004/11, allocations: 0.8139 MB / 4.409 GB, free: 7.176 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/11, allocations: 0 / 4.409 GB, free: 7.176 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/11, allocations: 192.9 kB / 4.409 GB, free: 6.988 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/11, allocations: 0.5388 MB / 4.41 GB, free: 6.449 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/11.01, allocations: 1.611 MB / 4.411 GB, free: 4.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/11.01, allocations: 1.203 MB / 4.413 GB, free: 3.535 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001783/11.01, allocations: 0.772 MB / 4.413 GB, free: 2.758 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/11.01, allocations: 315.3 kB / 4.414 GB, free: 2.449 MB / 0.698 GB Notification: Performance of SimCode: time 9.21e-07/11.01, allocations: 0 / 4.414 GB, free: 2.449 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5719/11.58, allocations: 32.15 MB / 4.445 GB, free: 187.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/11.58, allocations: 211.3 kB / 4.445 GB, free: 186.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/14.55, allocations: 0 / 4.445 GB, free: 186.8 MB / 0.698 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)