Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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.003477/0.003477, allocations: 179.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7032/0.7032, allocations: 130.6 MB / 138.5 MB, free: 2.195 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.496/1.496, allocations: 221.4 MB / 391.4 MB, free: 13.02 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.001127/0.001127, allocations: 113.6 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.227e-05, allocations: 2.25 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1931, allocations: 81.59 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5517/0.7448, allocations: 111.5 MB / 0.7365 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.7451, allocations: 96.23 kB / 0.7366 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.008482/0.7536, allocations: 2.556 MB / 0.7391 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.7537, allocations: 0 / 0.7391 GB, free: 11.29 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004044/0.7541, allocations: 346.5 kB / 0.7394 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7541, allocations: 7.812 kB / 0.7394 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.7545, allocations: 46.5 kB / 0.7395 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.7547, allocations: 164.3 kB / 0.7396 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.7547, allocations: 0 / 0.7396 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.7548, allocations: 3.906 kB / 0.7396 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/0.7549, allocations: 19.17 kB / 0.7397 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.755, allocations: 58.88 kB / 0.7397 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.755, allocations: 0 / 0.7397 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.755, allocations: 0 / 0.7397 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.755, allocations: 4 kB / 0.7397 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.7553, allocations: 143 kB / 0.7399 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.7555, allocations: 40.34 kB / 0.7399 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.7555, allocations: 21.95 kB / 0.7399 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.7555, allocations: 0 / 0.7399 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.7556, allocations: 35.88 kB / 0.74 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.7556, allocations: 0 / 0.74 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001899/0.7575, allocations: 427.5 kB / 0.7404 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.7575, allocations: 55.34 kB / 0.7404 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.7576, allocations: 89 kB / 0.7405 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.7577, allocations: 29.58 kB / 0.7405 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.7577, allocations: 81.83 kB / 0.7406 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.7578, allocations: 19.92 kB / 0.7406 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.7578, allocations: 0 / 0.7406 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7579, allocations: 318.9 kB / 0.7409 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.758, allocations: 29.17 kB / 0.741 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.758, allocations: 21.45 kB / 0.741 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.7581, allocations: 31.91 kB / 0.741 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.7581, allocations: 128 / 0.741 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002036/0.7583, allocations: 108.3 kB / 0.7411 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.7584, allocations: 3.812 kB / 0.7411 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.7584, allocations: 0 / 0.7411 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7584, allocations: 1.312 kB / 0.7411 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.7586, allocations: 33.47 kB / 0.7412 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7587, allocations: 0 / 0.7412 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.7588, allocations: 9.391 kB / 0.7412 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.7589, allocations: 3.797 kB / 0.7412 GB, free: 25.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.759, allocations: 108.9 kB / 0.7413 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.759, allocations: 7.75 kB / 0.7413 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.7591, allocations: 20.95 kB / 0.7413 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7591, allocations: 0 / 0.7413 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.7591, allocations: 0 / 0.7413 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7591, allocations: 0 / 0.7413 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.7593, allocations: 159 kB / 0.7414 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7593, allocations: 0 / 0.7414 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.7596, allocations: 31.64 kB / 0.7415 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.7596, allocations: 3.906 kB / 0.7415 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.7596, allocations: 3.328 kB / 0.7415 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.7596, allocations: 1.25 kB / 0.7415 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7596, allocations: 0 / 0.7415 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000301/0.7599, allocations: 167.2 kB / 0.7416 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.76, allocations: 78.8 kB / 0.7417 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.76, allocations: 3.875 kB / 0.7417 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.7602, allocations: 11.91 kB / 0.7417 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.7603, allocations: 9.656 kB / 0.7417 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.7603, allocations: 5.812 kB / 0.7417 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-05/0.7603, allocations: 76.92 kB / 0.7418 GB, free: 25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004886/0.7608, allocations: 30.91 kB / 0.7419 GB, free: 25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002662/0.7611, allocations: 143.1 kB / 0.742 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.7613, allocations: 67.98 kB / 0.7421 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7613, allocations: 0 / 0.7421 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.7613, allocations: 39.08 kB / 0.7421 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.7616, allocations: 6.766 kB / 0.7421 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.7622, allocations: 121.8 kB / 0.7422 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.7627, allocations: 0.7071 MB / 0.7429 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.7627, allocations: 3.938 kB / 0.7429 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.00555/0.7683, allocations: 2.103 MB / 0.745 GB, free: 23.97 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)