Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.7451/0.7451, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001262/0.001262, allocations: 185.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.1 MB / 399.1 MB, free: 6.133 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.001093/0.001093, allocations: 95.84 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.436e-05/1.44e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.388/5.601, allocations: 2.141 GB / 2.762 GB, free: 72.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/5.602, allocations: 95.94 kB / 2.762 GB, free: 71.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.362/8.964, allocations: 0.9601 GB / 3.722 GB, free: 72.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001721/8.964, allocations: 35.97 kB / 3.722 GB, free: 72.15 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003161/8.967, allocations: 1.13 MB / 3.723 GB, free: 70.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/8.967, allocations: 8.031 kB / 3.723 GB, free: 70.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/8.968, allocations: 182.5 kB / 3.723 GB, free: 70.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/8.972, allocations: 1.135 MB / 3.724 GB, free: 69.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/8.972, allocations: 16 kB / 3.724 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/8.972, allocations: 36 kB / 3.724 GB, free: 69.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008713/8.973, allocations: 0.4937 MB / 3.725 GB, free: 69.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009362/8.974, allocations: 0.6768 MB / 3.726 GB, free: 68.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/8.974, allocations: 4 kB / 3.726 GB, free: 68.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/8.974, allocations: 0 / 3.726 GB, free: 68.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/8.974, allocations: 16 kB / 3.726 GB, free: 68.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/8.978, allocations: 4.495 MB / 3.73 GB, free: 63.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/8.979, allocations: 474.3 kB / 3.73 GB, free: 62.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/8.979, allocations: 246.7 kB / 3.731 GB, free: 62.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/8.979, allocations: 194.1 kB / 3.731 GB, free: 62.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/8.98, allocations: 255.4 kB / 3.731 GB, free: 62.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/8.98, allocations: 0 / 3.731 GB, free: 62.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.01961/8.999, allocations: 3.805 MB / 3.735 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/8.999, allocations: 97.02 kB / 3.735 GB, free: 58.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/9.001, allocations: 0.871 MB / 3.736 GB, free: 57.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002171/9.001, allocations: 29.7 kB / 3.736 GB, free: 57.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/9.001, allocations: 340.8 kB / 3.736 GB, free: 57.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/9.002, allocations: 94.59 kB / 3.736 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/9.002, allocations: 4 kB / 3.736 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/9.002, allocations: 322 kB / 3.737 GB, free: 56.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/9.002, allocations: 360.6 kB / 3.737 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/9.003, allocations: 0.6706 MB / 3.738 GB, free: 55.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/9.004, allocations: 405.8 kB / 3.738 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/9.004, allocations: 0 / 3.738 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01722/9.021, allocations: 3.631 MB / 3.741 GB, free: 51.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004807/9.021, allocations: 2.013 MB / 3.743 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/9.021, allocations: 8 kB / 3.743 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/9.023, allocations: 0.6835 MB / 3.744 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/9.023, allocations: 55.91 kB / 3.744 GB, free: 48.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009168/9.032, allocations: 3.054 MB / 3.747 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/9.034, allocations: 183.4 kB / 3.747 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/9.034, allocations: 32.08 kB / 3.747 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/9.034, allocations: 7.938 kB / 3.747 GB, free: 45.19 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001068/9.035, allocations: 0.5703 MB / 3.748 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/9.035, allocations: 4 kB / 3.748 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/9.036, allocations: 217.1 kB / 3.748 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/9.036, allocations: 63.75 kB / 3.748 GB, free: 44.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/9.039, allocations: 2.758 MB / 3.751 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/9.04, allocations: 67.89 kB / 3.751 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/9.04, allocations: 31.97 kB / 3.751 GB, free: 41.37 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.000235/9.04, allocations: 132.7 kB / 3.751 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/9.041, allocations: 90.88 kB / 3.751 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/9.041, allocations: 101.2 kB / 3.751 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/9.041, allocations: 4 kB / 3.751 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/9.041, allocations: 0 / 3.751 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/9.041, allocations: 7.922 kB / 3.751 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/9.057, allocations: 4.116 MB / 3.755 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/9.057, allocations: 0 / 3.755 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/9.057, allocations: 28.17 kB / 3.755 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008849/9.058, allocations: 0.6318 MB / 3.756 GB, free: 36.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/9.058, allocations: 11.98 kB / 3.756 GB, free: 36.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03111/9.089, allocations: 10.24 MB / 3.766 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/9.089, allocations: 4 kB / 3.766 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01426/9.104, allocations: 3.27 MB / 3.769 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/9.104, allocations: 164 kB / 3.769 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/9.104, allocations: 0 / 3.769 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/9.106, allocations: 163.7 kB / 3.769 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/9.106, allocations: 31.94 kB / 3.769 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/9.106, allocations: 15.98 kB / 3.77 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007872/9.107, allocations: 0.6842 MB / 3.77 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001948/9.109, allocations: 0.5502 MB / 3.771 GB, free: 20.82 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001235/9.11, allocations: 1.088 MB / 3.772 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007461/9.117, allocations: 2.229 MB / 3.774 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/9.117, allocations: 4 kB / 3.774 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005728/9.123, allocations: 1.43 MB / 3.775 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/9.125, allocations: 382 kB / 3.776 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/9.128, allocations: 1.818 MB / 3.777 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/9.129, allocations: 1.255 MB / 3.779 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/9.129, allocations: 0 / 3.779 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.354/9.483, allocations: 31.5 MB / 3.809 GB, free: 219.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)