Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.723/0.723, allocations: 127.4 MB / 134.9 MB, free: 3.691 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.001125/0.001125, allocations: 172.8 kB / 164.7 MB, free: 6.52 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.804/1.804, allocations: 205.2 MB / 399.5 MB, free: 5.871 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.0008985/0.0008986, allocations: 96.3 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.185e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.773/5.964, allocations: 2.141 GB / 2.763 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/5.965, allocations: 91.94 kB / 2.763 GB, free: 46.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.2/10.16, allocations: 1.054 GB / 3.817 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/10.16, allocations: 0 / 3.817 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000121/10.16, allocations: 34.36 kB / 3.817 GB, free: 146.9 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003948/10.17, allocations: 1.264 MB / 3.819 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/10.17, allocations: 10.56 kB / 3.819 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/10.17, allocations: 196 kB / 3.819 GB, free: 146.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/10.17, allocations: 1.476 MB / 3.82 GB, free: 146 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/10.17, allocations: 18.66 kB / 3.82 GB, free: 146 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/10.17, allocations: 41.84 kB / 3.82 GB, free: 146 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001053/10.17, allocations: 0.7062 MB / 3.821 GB, free: 146 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/10.18, allocations: 0.8426 MB / 3.822 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/10.18, allocations: 3.844 kB / 3.822 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/10.18, allocations: 7.625 kB / 3.822 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/10.18, allocations: 14.38 kB / 3.822 GB, free: 145.8 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.004103/10.18, allocations: 4.471 MB / 3.826 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/10.18, allocations: 4.057 MB / 3.83 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/10.18, allocations: 328.1 kB / 3.83 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/10.18, allocations: 199.6 kB / 3.831 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/10.18, allocations: 291.4 kB / 3.831 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004327/10.18, allocations: 22.94 kB / 3.831 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.427e-06/10.18, allocations: 0 / 3.831 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.01169/10.19, allocations: 2.662 MB / 3.833 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/10.19, allocations: 83.61 kB / 3.834 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/10.2, allocations: 0.8979 MB / 3.834 GB, free: 137.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/10.2, allocations: 28.95 kB / 3.834 GB, free: 137.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/10.2, allocations: 0.5364 MB / 3.835 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/10.2, allocations: 125.3 kB / 3.835 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/10.2, allocations: 0 / 3.835 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/10.2, allocations: 327.2 kB / 3.835 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/10.2, allocations: 328.8 kB / 3.836 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/10.2, allocations: 0.6498 MB / 3.836 GB, free: 137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/10.2, allocations: 388.7 kB / 3.837 GB, free: 137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/10.2, allocations: 5.75 kB / 3.837 GB, free: 137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01036/10.21, allocations: 2.579 MB / 3.839 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008994/10.21, allocations: 2.138 MB / 3.841 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/10.21, allocations: 11.11 kB / 3.841 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/10.21, allocations: 0.6257 MB / 3.842 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/10.21, allocations: 74.5 kB / 3.842 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/10.22, allocations: 2.317 MB / 3.844 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/10.22, allocations: 160.4 kB / 3.844 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/10.22, allocations: 34.02 kB / 3.845 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/10.22, allocations: 3.781 kB / 3.845 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/10.22, allocations: 0.6735 MB / 3.845 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/10.22, allocations: 7.078 kB / 3.845 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/10.22, allocations: 225.2 kB / 3.845 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/10.22, allocations: 79.02 kB / 3.845 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/10.22, allocations: 2.987 MB / 3.848 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/10.23, allocations: 87.14 kB / 3.848 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/10.23, allocations: 25.91 kB / 3.848 GB, free: 132.7 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 (36): * Single equations (assignments): 34 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002506/10.23, allocations: 125.8 kB / 3.849 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007728/10.23, allocations: 2.033 MB / 3.851 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/10.23, allocations: 97.38 kB / 3.851 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/10.23, allocations: 114.4 kB / 3.851 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/10.23, allocations: 3.25 kB / 3.851 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/10.23, allocations: 0 / 3.851 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/10.23, allocations: 3.516 kB / 3.851 GB, free: 132.4 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.01103/10.25, allocations: 3.744 MB / 3.854 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/10.25, allocations: 7.562 kB / 3.854 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/10.25, allocations: 50.17 kB / 3.855 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007329/10.25, allocations: 0.5327 MB / 3.855 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/10.25, allocations: 10.27 kB / 3.855 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/10.27, allocations: 8.069 MB / 3.863 GB, free: 130.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/10.27, allocations: 2.531 kB / 3.863 GB, free: 130.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008216/10.28, allocations: 2.243 MB / 3.865 GB, free: 130 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/10.28, allocations: 178.4 kB / 3.865 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/10.28, allocations: 10.88 kB / 3.865 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/10.28, allocations: 147.8 kB / 3.865 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/10.28, allocations: 44.34 kB / 3.865 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/10.28, allocations: 17.09 kB / 3.865 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001211/10.28, allocations: 0.6982 MB / 3.866 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.11e-07/10.28, allocations: 0 / 3.866 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002882/10.28, allocations: 0.6253 MB / 3.867 GB, free: 129.7 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 (22): * Single equations (assignments): 19 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009749/10.29, allocations: 4.436 MB / 3.871 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005996/10.3, allocations: 2.096 MB / 3.873 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/10.3, allocations: 2.562 kB / 3.873 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004103/10.3, allocations: 1.206 MB / 3.874 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/10.31, allocations: 0.5891 MB / 3.875 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/10.31, allocations: 1.85 MB / 3.877 GB, free: 127.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/10.31, allocations: 1.234 MB / 3.878 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001758/10.31, allocations: 0.7046 MB / 3.879 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/10.31, allocations: 337 kB / 3.879 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/10.31, allocations: 4 kB / 3.879 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07042/10.38, allocations: 43.27 MB / 3.921 GB, free: 84.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/10.38, allocations: 189.7 kB / 3.921 GB, free: 84.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.655/14.04, allocations: 4 kB / 3.921 GB, free: 84.25 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)