Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.8626/0.8626, allocations: 143.3 MB / 158.3 MB, free: 5.773 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.001264/0.001264, allocations: 185.7 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.592/1.592, allocations: 223.2 MB / 447.7 MB, free: 6.57 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.0009035/0.0009037, allocations: 92.22 kB / 0.5187 GB, free: 2.922 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001763, allocations: 271.9 kB / 0.6005 GB, free: 49.01 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.000488, allocations: 16 kB / 0.6929 GB, free: 2.242 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4715, allocations: 82.77 MB / 0.7738 GB, free: 26.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.735/5.207, allocations: 1.83 GB / 2.604 GB, free: 196.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/5.207, allocations: 103.5 kB / 2.604 GB, free: 196.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.919/12.13, allocations: 1.998 GB / 4.601 GB, free: 48.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.846e-06/12.13, allocations: 0 / 4.601 GB, free: 48.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002117/12.13, allocations: 35.98 kB / 4.601 GB, free: 48.84 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.006227/12.13, allocations: 1.573 MB / 4.603 GB, free: 47.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/12.13, allocations: 12.03 kB / 4.603 GB, free: 47.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004434/12.13, allocations: 102.6 kB / 4.603 GB, free: 47.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/12.13, allocations: 202.4 kB / 4.603 GB, free: 46.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004632/12.14, allocations: 1.441 MB / 4.605 GB, free: 45.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/12.14, allocations: 45.31 kB / 4.605 GB, free: 45.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/12.14, allocations: 68 kB / 4.605 GB, free: 45.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/12.14, allocations: 0.9527 MB / 4.606 GB, free: 44.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/12.14, allocations: 3.938 kB / 4.606 GB, free: 44.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/12.14, allocations: 28 kB / 4.606 GB, free: 44.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/12.14, allocations: 12 kB / 4.606 GB, free: 44.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/12.14, allocations: 0.7531 MB / 4.606 GB, free: 43.44 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.004812/12.15, allocations: 4.738 MB / 4.611 GB, free: 38.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/12.15, allocations: 4.065 MB / 4.615 GB, free: 33.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/12.15, allocations: 198.2 kB / 4.615 GB, free: 33.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/12.15, allocations: 322.6 kB / 4.615 GB, free: 32.92 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005925/12.15, allocations: 35.69 kB / 4.616 GB, free: 32.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 3.306e-06/12.15, allocations: 0 / 4.616 GB, free: 32.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.003186/12.15, allocations: 1.311 MB / 4.617 GB, free: 31.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/12.15, allocations: 81.11 kB / 4.617 GB, free: 31.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/12.16, allocations: 1.042 MB / 4.618 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/12.16, allocations: 41.7 kB / 4.618 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/12.16, allocations: 0.5127 MB / 4.618 GB, free: 29.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/12.16, allocations: 130.2 kB / 4.619 GB, free: 29.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/12.16, allocations: 8 kB / 4.619 GB, free: 29.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/12.16, allocations: 326 kB / 4.619 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/12.16, allocations: 209 kB / 4.619 GB, free: 29.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/12.16, allocations: 0.5667 MB / 4.62 GB, free: 28.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/12.16, allocations: 331 kB / 4.62 GB, free: 28.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/12.16, allocations: 0 / 4.62 GB, free: 28.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001564/12.16, allocations: 0.9668 MB / 4.621 GB, free: 27.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005076/12.16, allocations: 2.24 MB / 4.623 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/12.16, allocations: 4 kB / 4.623 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005285/12.16, allocations: 248.4 kB / 4.623 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/12.16, allocations: 79.78 kB / 4.623 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00087/12.16, allocations: 0.9986 MB / 4.624 GB, free: 23.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/12.16, allocations: 103.8 kB / 4.624 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/12.16, allocations: 24 kB / 4.624 GB, free: 23.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/12.16, allocations: 4 kB / 4.624 GB, free: 23.25 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/12.16, allocations: 0.7825 MB / 4.625 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/12.16, allocations: 8 kB / 4.625 GB, free: 22.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/12.16, allocations: 231.3 kB / 4.625 GB, free: 22.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/12.16, allocations: 79.84 kB / 4.626 GB, free: 22.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/12.17, allocations: 2.945 MB / 4.628 GB, free: 19.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/12.17, allocations: 103.8 kB / 4.629 GB, free: 18.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/12.17, allocations: 27.95 kB / 4.629 GB, free: 18.95 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007658/12.17, allocations: 480.9 kB / 4.629 GB, free: 18.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/12.17, allocations: 106.9 kB / 4.629 GB, free: 18.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/12.17, allocations: 0.7967 MB / 4.63 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/12.17, allocations: 7.953 kB / 4.63 GB, free: 17.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/12.17, allocations: 0 / 4.63 GB, free: 17.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/12.17, allocations: 7.984 kB / 4.63 GB, free: 17.53 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.003506/12.18, allocations: 2.139 MB / 4.632 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/12.18, allocations: 4 kB / 4.632 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/12.18, allocations: 59.84 kB / 4.632 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/12.18, allocations: 180.5 kB / 4.632 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/12.18, allocations: 12 kB / 4.632 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005991/12.18, allocations: 0.8575 MB / 4.633 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/12.18, allocations: 7.953 kB / 4.633 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/12.18, allocations: 0.9743 MB / 4.634 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/12.18, allocations: 235.7 kB / 4.634 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/12.18, allocations: 8 kB / 4.634 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008748/12.18, allocations: 79.75 kB / 4.634 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/12.18, allocations: 39.91 kB / 4.634 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/12.18, allocations: 12 kB / 4.634 GB, free: 12.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001178/12.18, allocations: 0.8248 MB / 4.635 GB, free: 11.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/12.18, allocations: 4 kB / 4.635 GB, free: 11.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002429/12.18, allocations: 0.6011 MB / 4.636 GB, free: 11.22 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00325/12.19, allocations: 2.939 MB / 4.639 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002284/12.19, allocations: 1.131 MB / 4.64 GB, free: 7.031 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/12.19, allocations: 384 / 4.64 GB, free: 7.031 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004646/12.19, allocations: 268 kB / 4.64 GB, free: 6.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/12.19, allocations: 0.646 MB / 4.641 GB, free: 6.133 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4201/12.61, allocations: 10.42 MB / 4.651 GB, free: 171.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/12.62, allocations: 1.237 MB / 4.652 GB, free: 171 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001679/12.62, allocations: 388.5 kB / 4.652 GB, free: 171 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/12.62, allocations: 359.4 kB / 4.653 GB, free: 170.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.914e-06/12.62, allocations: 0 / 4.653 GB, free: 170.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08217/12.7, allocations: 47.42 MB / 4.699 GB, free: 170.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/12.7, allocations: 294.4 kB / 4.699 GB, free: 170 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.595/16.29, allocations: 0 / 4.699 GB, free: 170 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)