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: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7105/0.7105, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001307/0.001307, allocations: 181.3 kB / 164.4 MB, free: 6.875 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.879/1.879, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.001049/0.001049, allocations: 86.59 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/8.035e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2335, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.977/6.21, allocations: 2.141 GB / 2.762 GB, free: 72.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/6.211, allocations: 95.94 kB / 2.762 GB, free: 72.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.545/10.76, allocations: 1.066 GB / 3.828 GB, free: 143.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002438/10.76, allocations: 33.78 kB / 3.828 GB, free: 143.5 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.006588/10.76, allocations: 1.326 MB / 3.829 GB, free: 143 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/10.76, allocations: 14.72 kB / 3.829 GB, free: 143 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/10.76, allocations: 204.8 kB / 3.83 GB, free: 143 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/10.77, allocations: 1.483 MB / 3.831 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/10.77, allocations: 19.44 kB / 3.831 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/10.77, allocations: 37.91 kB / 3.831 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001509/10.77, allocations: 0.7304 MB / 3.832 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/10.77, allocations: 0.8527 MB / 3.833 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/10.77, allocations: 7.938 kB / 3.833 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/10.77, allocations: 2.969 kB / 3.833 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/10.77, allocations: 15.56 kB / 3.833 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/10.78, allocations: 4.604 MB / 3.837 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/10.78, allocations: 0.5339 MB / 3.838 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/10.78, allocations: 431.5 kB / 3.838 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/10.78, allocations: 190.6 kB / 3.838 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/10.78, allocations: 301.1 kB / 3.839 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/10.78, allocations: 0 / 3.839 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.0135/10.8, allocations: 2.513 MB / 3.841 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/10.8, allocations: 88.06 kB / 3.841 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/10.8, allocations: 0.9174 MB / 3.842 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/10.8, allocations: 25.7 kB / 3.842 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/10.8, allocations: 356.5 kB / 3.842 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/10.8, allocations: 115.1 kB / 3.843 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/10.8, allocations: 0.75 kB / 3.843 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/10.8, allocations: 324.1 kB / 3.843 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/10.8, allocations: 356.3 kB / 3.843 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/10.8, allocations: 0.6689 MB / 3.844 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/10.8, allocations: 419.3 kB / 3.844 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/10.8, allocations: 3.906 kB / 3.844 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01154/10.81, allocations: 2.432 MB / 3.847 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/10.81, allocations: 2.014 MB / 3.849 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/10.81, allocations: 7.656 kB / 3.849 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/10.81, allocations: 0.6394 MB / 3.849 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/10.81, allocations: 72.81 kB / 3.849 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007568/10.82, allocations: 2.566 MB / 3.852 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/10.82, allocations: 177.9 kB / 3.852 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/10.82, allocations: 25.47 kB / 3.852 GB, free: 135 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/10.82, allocations: 5.719 kB / 3.852 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/10.82, allocations: 0.6946 MB / 3.853 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/10.82, allocations: 6.562 kB / 3.853 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/10.82, allocations: 239.7 kB / 3.853 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/10.82, allocations: 75.69 kB / 3.853 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/10.83, allocations: 2.931 MB / 3.856 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/10.83, allocations: 105.6 kB / 3.856 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/10.83, allocations: 24.48 kB / 3.856 GB, free: 133.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (34): * Single equations (assignments): 32 * 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.0002692/10.83, allocations: 125.8 kB / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/10.83, allocations: 100.4 kB / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/10.83, allocations: 115 kB / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/10.83, allocations: 4.375 kB / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/10.83, allocations: 0 / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/10.83, allocations: 0 / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/10.84, allocations: 3.073 MB / 3.859 GB, free: 133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/10.84, allocations: 0 / 3.859 GB, free: 133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/10.84, allocations: 35.28 kB / 3.859 GB, free: 133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/10.84, allocations: 0.5979 MB / 3.86 GB, free: 133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/10.84, allocations: 7.328 kB / 3.86 GB, free: 133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02564/10.87, allocations: 7.971 MB / 3.868 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/10.87, allocations: 6.906 kB / 3.868 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008928/10.88, allocations: 2.147 MB / 3.87 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006974/10.88, allocations: 177.2 kB / 3.87 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/10.88, allocations: 6.25 kB / 3.87 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/10.88, allocations: 143.4 kB / 3.87 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/10.88, allocations: 31.66 kB / 3.87 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/10.88, allocations: 14.77 kB / 3.87 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001075/10.88, allocations: 0.7184 MB / 3.871 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002332/10.88, allocations: 0.5989 MB / 3.871 GB, free: 131 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (12): * Single equations (assignments): 9 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002104/10.88, allocations: 1.292 MB / 3.873 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007235/10.89, allocations: 1.986 MB / 3.875 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/10.89, allocations: 0 / 3.875 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005046/10.9, allocations: 1.147 MB / 3.876 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/10.9, allocations: 0.5721 MB / 3.876 GB, free: 130.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/10.9, allocations: 1.772 MB / 3.878 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009805/10.91, allocations: 1.303 MB / 3.879 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/10.91, allocations: 0 / 3.879 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.06319/10.97, allocations: 32.89 MB / 3.911 GB, free: 114 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)