Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.8629/0.8629, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001263/0.001263, allocations: 175.1 kB / 191.5 MB, free: 5.762 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.617/1.617, allocations: 223.2 MB / 447.7 MB, free: 6.508 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.001165/0.001165, allocations: 96.27 kB / 0.5188 GB, free: 2.859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001897, allocations: 276.5 kB / 0.6005 GB, free: 48.93 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004449, allocations: 16 kB / 0.6929 GB, free: 2.168 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4426, allocations: 82.78 MB / 0.7738 GB, free: 26.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.887/5.329, allocations: 1.832 GB / 2.606 GB, free: 151.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/5.33, allocations: 98.62 kB / 2.606 GB, free: 151.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.486/11.82, allocations: 2.008 GB / 4.614 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/11.82, allocations: 4 kB / 4.614 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001356/11.82, allocations: 35.98 kB / 4.614 GB, free: 0.6875 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.4778/12.29, allocations: 1.574 MB / 4.616 GB, free: 176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/12.29, allocations: 10.11 kB / 4.616 GB, free: 176 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004975/12.29, allocations: 98.64 kB / 4.616 GB, free: 176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/12.3, allocations: 196.8 kB / 4.616 GB, free: 175.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/12.3, allocations: 1.475 MB / 4.617 GB, free: 175.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/12.3, allocations: 50.17 kB / 4.618 GB, free: 175.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/12.3, allocations: 64.38 kB / 4.618 GB, free: 175.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/12.3, allocations: 0.9478 MB / 4.619 GB, free: 175.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/12.3, allocations: 0.9688 kB / 4.619 GB, free: 175.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/12.3, allocations: 26.86 kB / 4.619 GB, free: 175.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/12.3, allocations: 14.12 kB / 4.619 GB, free: 175.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/12.31, allocations: 0.7542 MB / 4.619 GB, free: 175.4 MB / 0.698 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.006029/12.31, allocations: 4.713 MB / 4.624 GB, free: 172.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/12.31, allocations: 3.996 MB / 4.628 GB, free: 168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/12.31, allocations: 197.8 kB / 4.628 GB, free: 167.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/12.31, allocations: 331.5 kB / 4.628 GB, free: 167.8 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006369/12.31, allocations: 28.94 kB / 4.628 GB, free: 167.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/12.31, allocations: 3.5 kB / 4.628 GB, free: 167.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.003997/12.32, allocations: 1.423 MB / 4.63 GB, free: 167.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/12.32, allocations: 85.97 kB / 4.63 GB, free: 167.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/12.32, allocations: 1.045 MB / 4.631 GB, free: 167.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/12.32, allocations: 37.86 kB / 4.631 GB, free: 167.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/12.32, allocations: 0.5193 MB / 4.631 GB, free: 167.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.624e-05/12.32, allocations: 125.1 kB / 4.632 GB, free: 167.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/12.32, allocations: 9.125 kB / 4.632 GB, free: 167.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/12.32, allocations: 327.3 kB / 4.632 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/12.32, allocations: 209.9 kB / 4.632 GB, free: 166.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/12.32, allocations: 0.5513 MB / 4.633 GB, free: 166.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/12.32, allocations: 332.4 kB / 4.633 GB, free: 166.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/12.32, allocations: 1.688 kB / 4.633 GB, free: 166.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001861/12.32, allocations: 1.014 MB / 4.634 GB, free: 166.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004921/12.33, allocations: 2.225 MB / 4.636 GB, free: 163.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/12.33, allocations: 4.812 kB / 4.636 GB, free: 163.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/12.33, allocations: 277.8 kB / 4.636 GB, free: 163.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/12.33, allocations: 78.72 kB / 4.636 GB, free: 163.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009951/12.33, allocations: 1.049 MB / 4.637 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/12.33, allocations: 108.9 kB / 4.638 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/12.33, allocations: 26.44 kB / 4.638 GB, free: 163.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/12.33, allocations: 3.969 kB / 4.638 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/12.33, allocations: 0.8059 MB / 4.638 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/12.33, allocations: 6.594 kB / 4.638 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/12.33, allocations: 260.2 kB / 4.639 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/12.33, allocations: 76.89 kB / 4.639 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003873/12.33, allocations: 3.141 MB / 4.642 GB, free: 161.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/12.34, allocations: 106.9 kB / 4.642 GB, free: 161.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/12.34, allocations: 25.91 kB / 4.642 GB, free: 161.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007645/12.34, allocations: 478.2 kB / 4.642 GB, free: 161.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/12.34, allocations: 110.8 kB / 4.642 GB, free: 161.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/12.34, allocations: 0.8268 MB / 4.643 GB, free: 161.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/12.34, allocations: 3.5 kB / 4.643 GB, free: 161.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/12.34, allocations: 3.188 kB / 4.643 GB, free: 161.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/12.34, allocations: 6.984 kB / 4.643 GB, free: 161.6 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.002796/12.34, allocations: 2.201 MB / 4.645 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/12.34, allocations: 0 / 4.645 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/12.34, allocations: 45.72 kB / 4.645 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/12.34, allocations: 213.6 kB / 4.646 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/12.34, allocations: 19.3 kB / 4.646 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005733/12.34, allocations: 0.8702 MB / 4.647 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/12.34, allocations: 6.812 kB / 4.647 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/12.34, allocations: 1.009 MB / 4.647 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/12.34, allocations: 235.4 kB / 4.648 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/12.34, allocations: 12.89 kB / 4.648 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/12.34, allocations: 89.7 kB / 4.648 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/12.34, allocations: 29.59 kB / 4.648 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/12.34, allocations: 19.09 kB / 4.648 GB, free: 159.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009941/12.35, allocations: 0.8266 MB / 4.649 GB, free: 159.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/12.35, allocations: 0 / 4.649 GB, free: 159.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002285/12.35, allocations: 0.6121 MB / 4.649 GB, free: 159.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003741/12.35, allocations: 3.001 MB / 4.652 GB, free: 157.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002001/12.35, allocations: 1.153 MB / 4.653 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/12.35, allocations: 0 / 4.653 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/12.35, allocations: 266 kB / 4.654 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/12.36, allocations: 0.643 MB / 4.654 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/12.37, allocations: 10.47 MB / 4.664 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/12.37, allocations: 1.238 MB / 4.666 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001238/12.37, allocations: 381.6 kB / 4.666 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/12.37, allocations: 357.8 kB / 4.666 GB, free: 151.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/12.37, allocations: 0 / 4.666 GB, free: 151.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0768/12.45, allocations: 48.57 MB / 4.714 GB, free: 149.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/12.45, allocations: 286.8 kB / 4.714 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.548/16, allocations: 3.375 kB / 4.714 GB, free: 148.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)