Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.004833/0.004833, allocations: 182.7 kB / 7.455 MB, free: 2.004 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7049/0.7049, allocations: 130.6 MB / 138.5 MB, free: 2.227 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.793/1.793, allocations: 221.3 MB / 391.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001021, allocations: 91.36 kB / 473.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.859e-06/9.979e-06, allocations: 3.844 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 81.58 MB / 0.6276 GB, free: 18.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.369/1.587, allocations: 364.5 MB / 0.9836 GB, free: 191.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.587, allocations: 88.34 kB / 0.9837 GB, free: 191.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.275/4.862, allocations: 0.9476 GB / 1.931 GB, free: 33.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006502/4.863, allocations: 77.62 kB / 1.931 GB, free: 33.64 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.01056/4.874, allocations: 3.198 MB / 1.934 GB, free: 30.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/4.874, allocations: 12.03 kB / 1.934 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/4.88, allocations: 0.963 MB / 1.935 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04856/4.929, allocations: 20.14 MB / 1.955 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/4.929, allocations: 56 kB / 1.955 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007427/4.929, allocations: 111.9 kB / 1.955 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003442/4.933, allocations: 1.631 MB / 1.957 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/4.937, allocations: 1.861 MB / 1.959 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/4.937, allocations: 0 / 1.959 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/4.937, allocations: 4 kB / 1.959 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/4.937, allocations: 36 kB / 1.959 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/4.956, allocations: 10.17 MB / 1.969 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/4.959, allocations: 1.631 MB / 1.97 GB, free: 9.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/4.96, allocations: 0.7216 MB / 1.971 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008121/4.968, allocations: 3.983 MB / 1.975 GB, free: 4.301 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/4.968, allocations: 51.23 kB / 1.975 GB, free: 4.242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 4.338e-06/4.968, allocations: 0 / 1.975 GB, free: 4.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.007292/4.975, allocations: 2.272 MB / 1.977 GB, free: 1.953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/4.975, allocations: 64.12 kB / 1.977 GB, free: 1.879 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/4.986, allocations: 3.531 MB / 1.981 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006172/4.987, allocations: 25.7 kB / 1.981 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/4.988, allocations: 0.8889 MB / 1.981 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008014/4.989, allocations: 287.7 kB / 1.982 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/4.989, allocations: 0 / 1.982 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002139/4.989, allocations: 369.9 kB / 1.982 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/4.991, allocations: 0.777 MB / 1.983 GB, free: 12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/4.993, allocations: 1.525 MB / 1.984 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/4.997, allocations: 1.129 MB / 1.985 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/4.997, allocations: 4 kB / 1.985 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.008128/5.005, allocations: 2.879 MB / 1.988 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.4037/5.409, allocations: 9.354 MB / 1.997 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.041e-05/5.409, allocations: 22.5 kB / 1.997 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/5.41, allocations: 460.6 kB / 1.998 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/5.412, allocations: 366.7 kB / 1.998 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/5.414, allocations: 2.442 MB / 2.001 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/5.418, allocations: 259.1 kB / 2.001 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/5.419, allocations: 162.1 kB / 2.001 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/5.419, allocations: 5.219 kB / 2.001 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005491/5.424, allocations: 2.223 MB / 2.003 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.741e-05/5.424, allocations: 18.97 kB / 2.003 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/5.426, allocations: 0.5034 MB / 2.004 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/5.427, allocations: 351.6 kB / 2.004 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/5.434, allocations: 5.238 MB / 2.009 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/5.438, allocations: 204.8 kB / 2.009 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004306/5.438, allocations: 140.3 kB / 2.009 GB, free: 107.5 MB / 0.7136 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 (167): * Single equations (assignments): 161 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006437/5.439, allocations: 174.3 kB / 2.01 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/5.44, allocations: 312.2 kB / 2.01 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006095/5.446, allocations: 2.268 MB / 2.012 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/5.446, allocations: 13.94 kB / 2.012 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/5.446, allocations: 3.828 kB / 2.012 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/5.446, allocations: 7.672 kB / 2.012 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009373/5.455, allocations: 4.414 MB / 2.017 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/5.455, allocations: 0 / 2.017 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/5.456, allocations: 191.7 kB / 2.017 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00072/5.457, allocations: 313.4 kB / 2.017 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/5.457, allocations: 26.31 kB / 2.017 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/5.459, allocations: 2.121 MB / 2.019 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/5.459, allocations: 2.438 kB / 2.019 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006149/5.465, allocations: 2.868 MB / 2.022 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/5.467, allocations: 0.7141 MB / 2.023 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008922/5.468, allocations: 3.875 kB / 2.023 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/5.47, allocations: 133.5 kB / 2.023 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/5.47, allocations: 76.27 kB / 2.023 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/5.47, allocations: 59.92 kB / 2.023 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.004513/5.475, allocations: 2.641 MB / 2.025 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007942/5.483, allocations: 1.62 MB / 2.027 GB, free: 104.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.003474/5.486, allocations: 1.701 MB / 2.029 GB, free: 104 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005494/5.492, allocations: 3.01 MB / 2.032 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/5.492, allocations: 0 / 2.032 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/5.493, allocations: 0.6514 MB / 2.032 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007742/5.501, allocations: 1.439 MB / 2.034 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/5.511, allocations: 4.404 MB / 2.038 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/5.514, allocations: 2.497 MB / 2.04 GB, free: 102 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/5.514, allocations: 0 / 2.04 GB, free: 102 MB / 0.7136 GB Notification: Performance of Templates: time 0.1353/5.65, allocations: 84.43 MB / 2.123 GB, free: 98.41 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)