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.9308/0.9308, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.001189/0.001188, allocations: 189 kB / 191.5 MB, free: 5.758 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.557/1.557, allocations: 223.1 MB / 447.7 MB, free: 4.867 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.0009353/0.0009352, allocations: 90.23 kB / 0.5187 GB, free: 1.227 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 273 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004505, allocations: 16.97 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1912, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.899/5.09, allocations: 1.832 GB / 2.606 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/5.091, allocations: 98.61 kB / 2.606 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.507/8.598, allocations: 0.9809 GB / 3.587 GB, free: 67.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.826e-06/8.598, allocations: 0 / 3.587 GB, free: 67.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001122/8.598, allocations: 27.98 kB / 3.587 GB, free: 67.18 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.005142/8.603, allocations: 1.524 MB / 3.588 GB, free: 65.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/8.603, allocations: 12.03 kB / 3.588 GB, free: 65.59 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002882/8.603, allocations: 94.52 kB / 3.588 GB, free: 65.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/8.604, allocations: 186.5 kB / 3.589 GB, free: 65.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/8.608, allocations: 1.42 MB / 3.59 GB, free: 63.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/8.608, allocations: 41 kB / 3.59 GB, free: 63.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/8.608, allocations: 67.94 kB / 3.59 GB, free: 63.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/8.609, allocations: 0.7927 MB / 3.591 GB, free: 62.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/8.609, allocations: 0 / 3.591 GB, free: 62.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/8.609, allocations: 24 kB / 3.591 GB, free: 62.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/8.609, allocations: 12 kB / 3.591 GB, free: 62.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/8.61, allocations: 0.5345 MB / 3.591 GB, free: 62.27 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.004013/8.614, allocations: 4.216 MB / 3.596 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/8.615, allocations: 419.2 kB / 3.596 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/8.615, allocations: 198.3 kB / 3.596 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/8.616, allocations: 319.6 kB / 3.596 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004472/8.616, allocations: 35.59 kB / 3.597 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.276e-06/8.616, allocations: 96 / 3.597 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001281/8.617, allocations: 0.678 MB / 3.597 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/8.617, allocations: 92.98 kB / 3.597 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/8.618, allocations: 1.016 MB / 3.598 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/8.619, allocations: 45.7 kB / 3.598 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/8.619, allocations: 484.8 kB / 3.599 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/8.619, allocations: 118.4 kB / 3.599 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/8.619, allocations: 8 kB / 3.599 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/8.619, allocations: 322 kB / 3.599 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/8.619, allocations: 201.1 kB / 3.599 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/8.62, allocations: 0.5299 MB / 3.6 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/8.62, allocations: 302.1 kB / 3.6 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/8.62, allocations: 4 kB / 3.6 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009764/8.621, allocations: 0.7097 MB / 3.601 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005423/8.622, allocations: 2.133 MB / 3.603 GB, free: 49.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/8.622, allocations: 8 kB / 3.603 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/8.622, allocations: 8 kB / 3.603 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/8.623, allocations: 307.4 kB / 3.603 GB, free: 49.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/8.626, allocations: 6.091 MB / 3.609 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/8.627, allocations: 99.94 kB / 3.609 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/8.628, allocations: 24 kB / 3.609 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/8.628, allocations: 8.875 kB / 3.609 GB, free: 43.01 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008662/8.628, allocations: 0.5574 MB / 3.61 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/8.629, allocations: 8 kB / 3.61 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/8.629, allocations: 8 kB / 3.61 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/8.629, allocations: 156.4 kB / 3.61 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/8.629, allocations: 11.94 kB / 3.61 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/8.63, allocations: 87.75 kB / 3.61 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/8.63, allocations: 24 kB / 3.61 GB, free: 42.16 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): 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.0006997/8.631, allocations: 473.1 kB / 3.611 GB, free: 41.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/8.631, allocations: 107.1 kB / 3.611 GB, free: 41.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/8.632, allocations: 0.531 MB / 3.611 GB, free: 41.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/8.632, allocations: 7.984 kB / 3.611 GB, free: 41.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/8.632, allocations: 0 / 3.611 GB, free: 41.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/8.632, allocations: 8 kB / 3.611 GB, free: 41.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/8.634, allocations: 1.476 MB / 3.613 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/8.634, allocations: 0 / 3.613 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/8.635, allocations: 163.7 kB / 3.613 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/8.635, allocations: 8.172 kB / 3.613 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/8.635, allocations: 15.94 kB / 3.613 GB, free: 39.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/8.637, allocations: 6.013 MB / 3.619 GB, free: 33.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/8.637, allocations: 4.031 kB / 3.619 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/8.637, allocations: 0.7371 MB / 3.619 GB, free: 32.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/8.638, allocations: 227.8 kB / 3.62 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/8.638, allocations: 8 kB / 3.62 GB, free: 31.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/8.639, allocations: 67.77 kB / 3.62 GB, free: 31.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/8.639, allocations: 39.91 kB / 3.62 GB, free: 31.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/8.639, allocations: 16 kB / 3.62 GB, free: 31.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009349/8.64, allocations: 0.8081 MB / 3.621 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/8.64, allocations: 0 / 3.621 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001618/8.641, allocations: 495.7 kB / 3.621 GB, free: 30.56 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): 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.002506/8.644, allocations: 2.629 MB / 3.624 GB, free: 27.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002513/8.646, allocations: 1.032 MB / 3.625 GB, free: 26.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/8.646, allocations: 8.062 kB / 3.625 GB, free: 26.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006651/8.647, allocations: 300.5 kB / 3.625 GB, free: 26.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/8.65, allocations: 0.6353 MB / 3.626 GB, free: 25.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/8.66, allocations: 9.912 MB / 3.635 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/8.661, allocations: 1.194 MB / 3.636 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00128/8.662, allocations: 368.3 kB / 3.637 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/8.663, allocations: 327.3 kB / 3.637 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.623e-06/8.663, allocations: 0 / 3.637 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5469/9.21, allocations: 43.96 MB / 3.68 GB, free: 185.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/9.21, allocations: 269.2 kB / 3.68 GB, free: 184.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.826/13.04, allocations: 0 / 3.68 GB, free: 184.9 MB / 0.7136 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)