Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.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.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives") [: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.6943/0.6943, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001203/0.001203, allocations: 184.2 kB / 164.4 MB, free: 6.898 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.768/1.768, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001071/0.001071, allocations: 85.42 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.337e-06/9.358e-06, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.198, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.486, allocations: 371.9 MB / 0.9841 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/1.486, allocations: 94.81 kB / 0.9842 GB, free: 110.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.902/5.388, allocations: 0.9412 GB / 1.925 GB, free: 61.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0009002/5.389, allocations: 86.27 kB / 1.925 GB, free: 61.51 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.01351/5.403, allocations: 3.176 MB / 1.929 GB, free: 60.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/5.403, allocations: 13.34 kB / 1.929 GB, free: 60.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007981/5.411, allocations: 1.102 MB / 1.93 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05768/5.468, allocations: 19.99 MB / 1.949 GB, free: 58.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/5.469, allocations: 60.09 kB / 1.949 GB, free: 58.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/5.47, allocations: 107.1 kB / 1.949 GB, free: 58.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004814/5.475, allocations: 1.637 MB / 1.951 GB, free: 58.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004157/5.479, allocations: 1.853 MB / 1.953 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/5.479, allocations: 6.328 kB / 1.953 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/5.479, allocations: 3.75 kB / 1.953 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/5.479, allocations: 38.47 kB / 1.953 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/5.499, allocations: 10.84 MB / 1.963 GB, free: 53.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/5.501, allocations: 1.594 MB / 1.965 GB, free: 53.42 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/5.502, allocations: 0.6951 MB / 1.966 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006465/5.509, allocations: 3.077 MB / 1.969 GB, free: 52.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/5.509, allocations: 42.97 kB / 1.969 GB, free: 52.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 3.957e-06/5.509, allocations: 0.75 kB / 1.969 GB, free: 52.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.007528/5.516, allocations: 2.215 MB / 1.971 GB, free: 52.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/5.516, allocations: 60.78 kB / 1.971 GB, free: 52.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008992/5.525, allocations: 3.532 MB / 1.974 GB, free: 51.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006765/5.526, allocations: 29.08 kB / 1.974 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/5.527, allocations: 0.9052 MB / 1.975 GB, free: 51.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/5.527, allocations: 261.9 kB / 1.975 GB, free: 51.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/5.527, allocations: 0 / 1.975 GB, free: 51.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001278/5.527, allocations: 370.1 kB / 1.976 GB, free: 51.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/5.529, allocations: 0.7771 MB / 1.977 GB, free: 51.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/5.53, allocations: 1.513 MB / 1.978 GB, free: 50.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/5.533, allocations: 1.113 MB / 1.979 GB, free: 50.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/5.533, allocations: 7.906 kB / 1.979 GB, free: 50.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006543/5.54, allocations: 2.841 MB / 1.982 GB, free: 49.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002325/5.542, allocations: 9.344 MB / 1.991 GB, free: 40.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/5.542, allocations: 19.19 kB / 1.991 GB, free: 40.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/5.543, allocations: 477 kB / 1.992 GB, free: 40.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/5.545, allocations: 371 kB / 1.992 GB, free: 40.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/5.548, allocations: 2.46 MB / 1.994 GB, free: 38.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/5.551, allocations: 264 kB / 1.995 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/5.552, allocations: 164.3 kB / 1.995 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/5.552, allocations: 3.938 kB / 1.995 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005274/5.557, allocations: 2.181 MB / 1.997 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/5.557, allocations: 21.91 kB / 1.997 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/5.559, allocations: 0.5112 MB / 1.997 GB, free: 38.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/5.56, allocations: 347.8 kB / 1.998 GB, free: 38.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/5.568, allocations: 5.3 MB / 2.003 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/5.571, allocations: 207.8 kB / 2.003 GB, free: 35.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/5.572, allocations: 136.8 kB / 2.003 GB, free: 35.62 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007785/5.572, allocations: 172.1 kB / 2.003 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/5.573, allocations: 309 kB / 2.004 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007049/5.58, allocations: 2.238 MB / 2.006 GB, free: 35.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/5.58, allocations: 17.17 kB / 2.006 GB, free: 35.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/5.58, allocations: 0 / 2.006 GB, free: 35.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/5.58, allocations: 3.375 kB / 2.006 GB, free: 35.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005171/5.586, allocations: 2.27 MB / 2.008 GB, free: 34.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/5.586, allocations: 0 / 2.008 GB, free: 34.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/5.587, allocations: 170.7 kB / 2.008 GB, free: 34.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/5.588, allocations: 333.6 kB / 2.009 GB, free: 34.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.603e-05/5.588, allocations: 21.19 kB / 2.009 GB, free: 34.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/5.589, allocations: 2.145 MB / 2.011 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/5.589, allocations: 6.906 kB / 2.011 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006149/5.596, allocations: 2.617 MB / 2.013 GB, free: 33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/5.598, allocations: 0.7013 MB / 2.014 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006803/5.599, allocations: 6.562 kB / 2.014 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/5.6, allocations: 134.4 kB / 2.014 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/5.601, allocations: 57.02 kB / 2.014 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/5.601, allocations: 59.38 kB / 2.014 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.005078/5.606, allocations: 2.649 MB / 2.017 GB, free: 32.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009236/5.615, allocations: 1.578 MB / 2.018 GB, free: 32.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004008/5.619, allocations: 1.721 MB / 2.02 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005569/5.625, allocations: 2.962 MB / 2.023 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/5.625, allocations: 3.875 kB / 2.023 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/5.626, allocations: 0.5966 MB / 2.023 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008637/5.634, allocations: 1.45 MB / 2.025 GB, free: 31.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/5.645, allocations: 4.321 MB / 2.029 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/5.648, allocations: 2.476 MB / 2.031 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.423e-06/5.648, allocations: 0 / 2.031 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.1553/5.803, allocations: 84.64 MB / 2.114 GB, free: 10.13 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)