Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified.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.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified") [: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.7169/0.7169, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001523/0.001523, allocations: 181.2 kB / 164.4 MB, free: 6.871 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.855/1.855, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.00106/0.00106, allocations: 94.56 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.719e-06/9.738e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1841, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.317, allocations: 403.8 MB / 1.015 GB, free: 79.57 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.318, allocations: 93.42 kB / 1.015 GB, free: 79.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.718/5.035, allocations: 0.9711 GB / 1.986 GB, free: 56.73 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0008664/5.036, allocations: 99.88 kB / 1.987 GB, free: 56.71 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.0122/5.049, allocations: 3.096 MB / 1.99 GB, free: 55.23 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/5.049, allocations: 10.38 kB / 1.99 GB, free: 55.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005736/5.054, allocations: 0.7634 MB / 1.99 GB, free: 55.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05828/5.113, allocations: 22.45 MB / 2.012 GB, free: 53.59 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/5.113, allocations: 54.78 kB / 2.012 GB, free: 53.59 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/5.113, allocations: 116.4 kB / 2.012 GB, free: 53.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00293/5.116, allocations: 1.533 MB / 2.014 GB, free: 53.57 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/5.119, allocations: 1.79 MB / 2.016 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/5.119, allocations: 3.75 kB / 2.016 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/5.119, allocations: 5.391 kB / 2.016 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/5.119, allocations: 50.5 kB / 2.016 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/5.135, allocations: 10.74 MB / 2.026 GB, free: 48.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/5.137, allocations: 1.275 MB / 2.027 GB, free: 47.99 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/5.138, allocations: 0.6137 MB / 2.028 GB, free: 47.97 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/5.138, allocations: 274.8 kB / 2.028 GB, free: 47.69 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/5.138, allocations: 41.88 kB / 2.028 GB, free: 47.65 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=87): time 3.136e-06/5.138, allocations: 1.688 kB / 2.028 GB, free: 47.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=93): time 0.01307/5.151, allocations: 4.157 MB / 2.032 GB, free: 46.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/5.151, allocations: 67.5 kB / 2.032 GB, free: 46.54 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/5.157, allocations: 2.92 MB / 2.035 GB, free: 46.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003269/5.158, allocations: 29.48 kB / 2.035 GB, free: 46.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/5.158, allocations: 0.9282 MB / 2.036 GB, free: 45.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/5.159, allocations: 317.1 kB / 2.037 GB, free: 45.62 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/5.159, allocations: 0 / 2.037 GB, free: 45.62 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001416/5.159, allocations: 362.7 kB / 2.037 GB, free: 45.31 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009393/5.16, allocations: 0.6296 MB / 2.038 GB, free: 45.31 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/5.161, allocations: 1.309 MB / 2.039 GB, free: 44.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/5.164, allocations: 0.9496 MB / 2.04 GB, free: 44.44 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/5.164, allocations: 10.56 kB / 2.04 GB, free: 44.44 MB / 0.6667 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006204/5.17, allocations: 2.452 MB / 2.042 GB, free: 44.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001852/5.172, allocations: 8.225 MB / 2.05 GB, free: 35.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/5.172, allocations: 18.25 kB / 2.05 GB, free: 35.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/5.173, allocations: 417.2 kB / 2.051 GB, free: 35.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/5.176, allocations: 389.3 kB / 2.051 GB, free: 35.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/5.179, allocations: 3.575 MB / 2.054 GB, free: 32.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/5.182, allocations: 140.5 kB / 2.055 GB, free: 32.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/5.183, allocations: 119.5 kB / 2.055 GB, free: 32.42 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/5.183, allocations: 3.781 kB / 2.055 GB, free: 32.42 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004991/5.188, allocations: 1.879 MB / 2.057 GB, free: 31.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/5.188, allocations: 18.75 kB / 2.057 GB, free: 31.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/5.189, allocations: 447.2 kB / 2.057 GB, free: 31.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/5.19, allocations: 329.9 kB / 2.057 GB, free: 31.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/5.198, allocations: 5.676 MB / 2.063 GB, free: 27.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/5.201, allocations: 118.4 kB / 2.063 GB, free: 27.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/5.202, allocations: 107.7 kB / 2.063 GB, free: 27.77 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006725/5.202, allocations: 157.9 kB / 2.063 GB, free: 27.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007754/5.203, allocations: 306 kB / 2.063 GB, free: 27.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/5.209, allocations: 1.948 MB / 2.065 GB, free: 26.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/5.209, allocations: 11.03 kB / 2.065 GB, free: 26.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/5.209, allocations: 3.406 kB / 2.065 GB, free: 26.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002723/5.211, allocations: 1.567 MB / 2.067 GB, free: 26.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009378/5.221, allocations: 3.992 MB / 2.071 GB, free: 24.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/5.221, allocations: 0 / 2.071 GB, free: 24.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/5.223, allocations: 282.1 kB / 2.071 GB, free: 24.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/5.223, allocations: 100.5 kB / 2.071 GB, free: 24.31 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.341e-05/5.223, allocations: 21.97 kB / 2.071 GB, free: 24.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/5.225, allocations: 2.142 MB / 2.073 GB, free: 22.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/5.225, allocations: 3.438 kB / 2.073 GB, free: 22.41 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005297/5.231, allocations: 2.362 MB / 2.076 GB, free: 21.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/5.233, allocations: 0.586 MB / 2.076 GB, free: 21.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006084/5.233, allocations: 3.656 kB / 2.076 GB, free: 21.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/5.235, allocations: 106.8 kB / 2.076 GB, free: 21.05 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/5.235, allocations: 64.56 kB / 2.076 GB, free: 21.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/5.235, allocations: 50.72 kB / 2.076 GB, free: 21.03 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.004465/5.24, allocations: 2.211 MB / 2.079 GB, free: 20.13 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.008067/5.248, allocations: 1.45 MB / 2.08 GB, free: 19.93 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003852/5.252, allocations: 1.811 MB / 2.082 GB, free: 18.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005857/5.258, allocations: 2.673 MB / 2.084 GB, free: 16.36 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/5.258, allocations: 0 / 2.084 GB, free: 16.36 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/5.26, allocations: 0.6613 MB / 2.085 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00826/5.268, allocations: 1.437 MB / 2.086 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/5.28, allocations: 4.441 MB / 2.091 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/5.283, allocations: 2.504 MB / 2.093 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/5.283, allocations: 0 / 2.093 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of Templates: time 0.5931/5.876, allocations: 78.64 MB / 2.17 GB, free: 119.4 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1)