Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7287/0.7287, allocations: 127.4 MB / 134.9 MB, free: 3.711 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 176.9 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 399.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.0009221, allocations: 82.12 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.33e-05, allocations: 8 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.17, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.764/5.934, allocations: 2.139 GB / 2.76 GB, free: 93.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/5.934, allocations: 91.94 kB / 2.76 GB, free: 93.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.302/13.24, allocations: 1.931 GB / 4.691 GB, free: 68.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/13.24, allocations: 0 / 4.691 GB, free: 68.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001298/13.24, allocations: 31.98 kB / 4.691 GB, free: 68 MB / 0.6355 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.004008/13.24, allocations: 1.267 MB / 4.692 GB, free: 66.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/13.24, allocations: 8.031 kB / 4.692 GB, free: 66.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/13.24, allocations: 202.3 kB / 4.693 GB, free: 66.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/13.24, allocations: 1.46 MB / 4.694 GB, free: 64.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/13.24, allocations: 20 kB / 4.694 GB, free: 64.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/13.24, allocations: 36 kB / 4.694 GB, free: 64.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000953/13.25, allocations: 0.7092 MB / 4.695 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/13.25, allocations: 0.8406 MB / 4.696 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/13.25, allocations: 7.938 kB / 4.696 GB, free: 63.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/13.25, allocations: 8 kB / 4.696 GB, free: 63.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/13.25, allocations: 12 kB / 4.696 GB, free: 63.24 MB / 0.6355 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.003794/13.25, allocations: 4.513 MB / 4.7 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/13.25, allocations: 4.096 MB / 4.704 GB, free: 53.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/13.25, allocations: 333.2 kB / 4.704 GB, free: 53.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/13.25, allocations: 194.5 kB / 4.705 GB, free: 52.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/13.25, allocations: 302.9 kB / 4.705 GB, free: 52.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004353/13.25, allocations: 11.84 kB / 4.705 GB, free: 52.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/13.25, allocations: 3.938 kB / 4.705 GB, free: 52.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.01754/13.27, allocations: 4.378 MB / 4.709 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/13.27, allocations: 81.11 kB / 4.709 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/13.27, allocations: 0.8982 MB / 4.71 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/13.27, allocations: 33.64 kB / 4.71 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/13.27, allocations: 0.5246 MB / 4.711 GB, free: 46.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/13.27, allocations: 122.2 kB / 4.711 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/13.27, allocations: 0 / 4.711 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/13.27, allocations: 334 kB / 4.711 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/13.27, allocations: 364.8 kB / 4.711 GB, free: 45.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/13.27, allocations: 0.6866 MB / 4.712 GB, free: 45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/13.28, allocations: 413.2 kB / 4.713 GB, free: 44.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/13.28, allocations: 0 / 4.713 GB, free: 44.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01537/13.29, allocations: 4.148 MB / 4.717 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005494/13.29, allocations: 2.144 MB / 4.719 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/13.29, allocations: 4 kB / 4.719 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009987/13.29, allocations: 0.6331 MB / 4.719 GB, free: 37.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/13.29, allocations: 79.89 kB / 4.719 GB, free: 37.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/13.29, allocations: 1.887 MB / 4.721 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/13.3, allocations: 219.6 kB / 4.721 GB, free: 35.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/13.3, allocations: 27.98 kB / 4.721 GB, free: 35.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/13.3, allocations: 4 kB / 4.721 GB, free: 35.25 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/13.3, allocations: 0.6482 MB / 4.722 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/13.3, allocations: 7.984 kB / 4.722 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/13.3, allocations: 213.2 kB / 4.722 GB, free: 34.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/13.3, allocations: 79.83 kB / 4.722 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/13.3, allocations: 2.786 MB / 4.725 GB, free: 31.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/13.3, allocations: 87.8 kB / 4.725 GB, free: 31.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/13.3, allocations: 24 kB / 4.725 GB, free: 31.28 MB / 0.6355 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002557/13.3, allocations: 134.8 kB / 4.725 GB, free: 31.14 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01302/13.32, allocations: 3.496 MB / 4.729 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006682/13.32, allocations: 102.7 kB / 4.729 GB, free: 27.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/13.32, allocations: 114.3 kB / 4.729 GB, free: 27.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/13.32, allocations: 4 kB / 4.729 GB, free: 27.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/13.32, allocations: 7.953 kB / 4.729 GB, free: 27.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/13.32, allocations: 4 kB / 4.729 GB, free: 27.41 MB / 0.6355 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 postOpt removeSimpleEquations (simulation): time 0.01666/13.33, allocations: 5.371 MB / 4.734 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/13.33, allocations: 3.953 kB / 4.734 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/13.33, allocations: 51.91 kB / 4.734 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007469/13.33, allocations: 0.5591 MB / 4.735 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/13.33, allocations: 19.91 kB / 4.735 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/13.35, allocations: 7.944 MB / 4.743 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/13.35, allocations: 3.938 kB / 4.743 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/13.37, allocations: 3.702 MB / 4.746 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006698/13.37, allocations: 179.8 kB / 4.746 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/13.37, allocations: 4 kB / 4.746 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/13.37, allocations: 203.6 kB / 4.747 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/13.37, allocations: 63.8 kB / 4.747 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/13.37, allocations: 11.98 kB / 4.747 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008856/13.37, allocations: 0.6982 MB / 4.747 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/13.37, allocations: 0 / 4.747 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002315/13.37, allocations: 0.6556 MB / 4.748 GB, free: 7.57 MB / 0.6355 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.01477/13.39, allocations: 5.815 MB / 4.754 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002727/13.39, allocations: 1.507 MB / 4.755 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/13.39, allocations: 0 / 4.755 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.4126/13.8, allocations: 0.5231 MB / 4.756 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/13.81, allocations: 0.5753 MB / 4.756 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/13.81, allocations: 1.917 MB / 4.758 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/13.81, allocations: 1.237 MB / 4.759 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002676/13.82, allocations: 0.7522 MB / 4.76 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/13.82, allocations: 340.3 kB / 4.76 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/13.82, allocations: 0 / 4.76 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09622/13.91, allocations: 48.17 MB / 4.807 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/13.91, allocations: 209.2 kB / 4.808 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.798/17.71, allocations: 0 / 4.808 GB, free: 138.1 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)