Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002176/0.002176, allocations: 174.4 kB / 7.459 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6022/0.6022, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008539/0.0008539, allocations: 102.8 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/5.981e-06, allocations: 0 / 0.5528 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 82.31 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6988/0.8064, allocations: 364.8 MB / 0.9895 GB, free: 260.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.8066, allocations: 89.94 kB / 0.9895 GB, free: 260.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.287/3.093, allocations: 0.9476 GB / 1.937 GB, free: 57.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002862/3.094, allocations: 86.45 kB / 1.937 GB, free: 57.63 MB / 0.698 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.004913/3.099, allocations: 3.193 MB / 1.94 GB, free: 55.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/3.099, allocations: 6.969 kB / 1.94 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/3.103, allocations: 0.9642 MB / 1.941 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/3.143, allocations: 20.14 MB / 1.961 GB, free: 54.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/3.143, allocations: 55.62 kB / 1.961 GB, free: 54.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/3.144, allocations: 113.4 kB / 1.961 GB, free: 54.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002655/3.146, allocations: 1.625 MB / 1.963 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/3.149, allocations: 1.856 MB / 1.965 GB, free: 52.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/3.149, allocations: 4.969 kB / 1.965 GB, free: 52.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/3.149, allocations: 3.281 kB / 1.965 GB, free: 52.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/3.149, allocations: 38.12 kB / 1.965 GB, free: 52.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/3.162, allocations: 10.15 MB / 1.975 GB, free: 46.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/3.164, allocations: 1.633 MB / 1.976 GB, free: 45.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/3.165, allocations: 0.7255 MB / 1.977 GB, free: 45.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004719/3.17, allocations: 3.985 MB / 1.981 GB, free: 42.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/3.17, allocations: 47.47 kB / 1.981 GB, free: 42.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 2.073e-06/3.17, allocations: 0 / 1.981 GB, free: 42.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.005536/3.175, allocations: 2.265 MB / 1.983 GB, free: 42.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/3.175, allocations: 64.25 kB / 1.983 GB, free: 42.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/3.18, allocations: 3.527 MB / 1.986 GB, free: 40.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002976/3.181, allocations: 30.36 kB / 1.986 GB, free: 40.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/3.181, allocations: 0.8945 MB / 1.987 GB, free: 40.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/3.182, allocations: 282.4 kB / 1.988 GB, free: 39.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/3.182, allocations: 1 kB / 1.988 GB, free: 39.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001107/3.182, allocations: 365.7 kB / 1.988 GB, free: 39.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/3.183, allocations: 0.7762 MB / 1.989 GB, free: 39.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/3.184, allocations: 1.532 MB / 1.99 GB, free: 37.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/3.187, allocations: 1.117 MB / 1.991 GB, free: 37.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/3.187, allocations: 6.031 kB / 1.991 GB, free: 37.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006744/3.194, allocations: 2.888 MB / 1.994 GB, free: 36.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001275/3.195, allocations: 9.352 MB / 2.003 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/3.195, allocations: 20 kB / 2.003 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/3.196, allocations: 462.5 kB / 2.004 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/3.197, allocations: 373.7 kB / 2.004 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/3.199, allocations: 2.443 MB / 2.006 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/3.202, allocations: 254.9 kB / 2.007 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/3.202, allocations: 159.7 kB / 2.007 GB, free: 22.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/3.202, allocations: 4 kB / 2.007 GB, free: 22.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004676/3.207, allocations: 2.225 MB / 2.009 GB, free: 20.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/3.207, allocations: 20 kB / 2.009 GB, free: 20.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/3.208, allocations: 0.5138 MB / 2.01 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/3.209, allocations: 348.5 kB / 2.01 GB, free: 20.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006392/3.216, allocations: 5.238 MB / 2.015 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/3.219, allocations: 209.8 kB / 2.015 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/3.219, allocations: 135.5 kB / 2.015 GB, free: 15 MB / 0.698 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.000552/3.219, allocations: 172.8 kB / 2.016 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/3.22, allocations: 315.8 kB / 2.016 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005579/3.226, allocations: 2.276 MB / 2.018 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/3.226, allocations: 19.98 kB / 2.018 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/3.226, allocations: 0 / 2.018 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/3.226, allocations: 3.984 kB / 2.018 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008381/3.234, allocations: 4.423 MB / 2.022 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/3.234, allocations: 7 kB / 2.022 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/3.235, allocations: 187.8 kB / 2.023 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006577/3.236, allocations: 312.7 kB / 2.023 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.004e-05/3.236, allocations: 23.97 kB / 2.023 GB, free: 7.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/3.237, allocations: 2.122 MB / 2.025 GB, free: 5.488 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/3.237, allocations: 4 kB / 2.025 GB, free: 5.484 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005206/3.243, allocations: 2.865 MB / 2.028 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/3.244, allocations: 0.7113 MB / 2.028 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009047/3.245, allocations: 4.016 kB / 2.028 GB, free: 1.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/3.247, allocations: 143.7 kB / 2.029 GB, free: 1.699 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/3.247, allocations: 64.81 kB / 2.029 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/3.247, allocations: 59.95 kB / 2.029 GB, free: 1.574 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.004243/3.252, allocations: 2.646 MB / 2.031 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006101/3.258, allocations: 1.61 MB / 2.033 GB, free: 13.33 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.003163/3.261, allocations: 1.702 MB / 2.035 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005157/3.266, allocations: 3.001 MB / 2.037 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/3.266, allocations: 1.562 kB / 2.037 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/3.267, allocations: 0.648 MB / 2.038 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/3.274, allocations: 1.439 MB / 2.04 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/3.284, allocations: 4.411 MB / 2.044 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2327/3.517, allocations: 2.492 MB / 2.046 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/3.517, allocations: 0 / 2.046 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.1084/3.625, allocations: 84.42 MB / 2.129 GB, free: 114.4 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)