Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp",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.6858/0.6858, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 176.7 kB / 187.2 MB, free: 11.91 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.229/1.229, allocations: 221.3 MB / 441.4 MB, free: 4.637 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.000819/0.000819, allocations: 98.94 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 269.6 kB / 0.5939 GB, free: 8.008 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.954e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3189, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.245/3.564, allocations: 1.832 GB / 2.596 GB, free: 217.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/3.565, allocations: 91 kB / 2.597 GB, free: 217.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.506/6.071, allocations: 0.9801 GB / 3.577 GB, free: 26.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/6.071, allocations: 0 / 3.577 GB, free: 26.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.016e-05/6.071, allocations: 35.92 kB / 3.577 GB, free: 26.3 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.002926/6.074, allocations: 1.236 MB / 3.578 GB, free: 25.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/6.074, allocations: 12.03 kB / 3.578 GB, free: 25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/6.074, allocations: 94.52 kB / 3.578 GB, free: 24.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/6.075, allocations: 186.4 kB / 3.578 GB, free: 24.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/6.078, allocations: 1.401 MB / 3.579 GB, free: 23.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/6.078, allocations: 45 kB / 3.58 GB, free: 23.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/6.078, allocations: 59.98 kB / 3.58 GB, free: 23.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/6.079, allocations: 0.7728 MB / 3.58 GB, free: 22.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/6.079, allocations: 0 / 3.58 GB, free: 22.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/6.079, allocations: 24 kB / 3.58 GB, free: 22.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/6.079, allocations: 12 kB / 3.58 GB, free: 22.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/6.08, allocations: 498.6 kB / 3.581 GB, free: 21.78 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.002648/6.082, allocations: 4.227 MB / 3.585 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/6.083, allocations: 381.6 kB / 3.585 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/6.083, allocations: 305.2 kB / 3.586 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/6.083, allocations: 190.2 kB / 3.586 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/6.084, allocations: 287.2 kB / 3.586 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001808/6.084, allocations: 27.69 kB / 3.586 GB, free: 16.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/6.084, allocations: 0 / 3.586 GB, free: 16.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.000697/6.084, allocations: 493.7 kB / 3.587 GB, free: 15.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/6.084, allocations: 85.2 kB / 3.587 GB, free: 15.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/6.085, allocations: 1.014 MB / 3.588 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/6.085, allocations: 37.7 kB / 3.588 GB, free: 14.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/6.086, allocations: 480.9 kB / 3.588 GB, free: 13.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/6.086, allocations: 118.4 kB / 3.588 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/6.086, allocations: 8 kB / 3.588 GB, free: 13.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.25e-05/6.086, allocations: 333.9 kB / 3.589 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/6.086, allocations: 173 kB / 3.589 GB, free: 13.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/6.086, allocations: 0.5061 MB / 3.589 GB, free: 12.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/6.087, allocations: 280 kB / 3.59 GB, free: 12.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/6.087, allocations: 7.953 kB / 3.59 GB, free: 12.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007054/6.087, allocations: 0.6626 MB / 3.59 GB, free: 11.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/6.088, allocations: 2.145 MB / 3.592 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/6.088, allocations: 4 kB / 3.592 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/6.088, allocations: 8 kB / 3.592 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/6.089, allocations: 307.4 kB / 3.593 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/6.091, allocations: 6.091 MB / 3.599 GB, free: 2.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/6.092, allocations: 91.84 kB / 3.599 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/6.092, allocations: 28 kB / 3.599 GB, free: 2.613 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/6.092, allocations: 5.25 kB / 3.599 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005768/6.092, allocations: 0.5285 MB / 3.599 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/6.093, allocations: 4 kB / 3.599 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/6.093, allocations: 8 kB / 3.599 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/6.093, allocations: 148.2 kB / 3.599 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/6.093, allocations: 15.98 kB / 3.599 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/6.094, allocations: 87.77 kB / 3.599 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/6.094, allocations: 23.98 kB / 3.599 GB, free: 1.793 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): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/6.094, allocations: 145 kB / 3.6 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/6.094, allocations: 106.8 kB / 3.6 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/6.095, allocations: 499.8 kB / 3.6 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/6.095, allocations: 8 kB / 3.6 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/6.095, allocations: 3.938 kB / 3.6 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/6.095, allocations: 0 / 3.6 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3061/6.401, allocations: 1.418 MB / 3.602 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/6.401, allocations: 5.625 kB / 3.602 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/6.402, allocations: 161.6 kB / 3.602 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/6.402, allocations: 6.438 kB / 3.602 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/6.402, allocations: 9.875 kB / 3.602 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/6.403, allocations: 6.02 MB / 3.608 GB, free: 180.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/6.403, allocations: 4.188 kB / 3.608 GB, free: 180.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/6.404, allocations: 0.7019 MB / 3.608 GB, free: 180.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/6.405, allocations: 230.6 kB / 3.609 GB, free: 180.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/6.405, allocations: 8.328 kB / 3.609 GB, free: 180.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/6.405, allocations: 71.77 kB / 3.609 GB, free: 180.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/6.406, allocations: 35.09 kB / 3.609 GB, free: 180.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/6.406, allocations: 12.41 kB / 3.609 GB, free: 180.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001114/6.407, allocations: 0.8013 MB / 3.609 GB, free: 180.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/6.407, allocations: 0 / 3.609 GB, free: 180.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001354/6.408, allocations: 496.1 kB / 3.61 GB, free: 180.3 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/6.41, allocations: 2.589 MB / 3.612 GB, free: 178.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002663/6.413, allocations: 1.022 MB / 3.613 GB, free: 178.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/6.413, allocations: 4.656 kB / 3.613 GB, free: 178.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006773/6.414, allocations: 272.7 kB / 3.614 GB, free: 178.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/6.417, allocations: 0.6323 MB / 3.614 GB, free: 178.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/6.419, allocations: 1.694 MB / 3.616 GB, free: 178.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/6.419, allocations: 1.195 MB / 3.617 GB, free: 177.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001654/6.421, allocations: 0.7708 MB / 3.618 GB, free: 177.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/6.421, allocations: 310.1 kB / 3.618 GB, free: 177.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/6.421, allocations: 0 / 3.618 GB, free: 177.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/6.476, allocations: 47.81 MB / 3.665 GB, free: 176.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/6.476, allocations: 238.2 kB / 3.665 GB, free: 176.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.176/9.653, allocations: 0 / 3.665 GB, free: 176.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)