Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.002238/0.002238, allocations: 187.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6005/0.6005, 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008612/0.0008612, allocations: 106.4 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.462e-06, allocations: 2.812 kB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.4054, allocations: 111.8 MB / 0.7424 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4057, allocations: 91.98 kB / 0.7425 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.007238/0.4129, allocations: 2.57 MB / 0.745 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4129, allocations: 0 / 0.745 GB, free: 10.7 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.0003162/0.4133, allocations: 350.3 kB / 0.7453 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.4133, allocations: 8.484 kB / 0.7453 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.4137, allocations: 35 kB / 0.7454 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.4138, allocations: 160.1 kB / 0.7455 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4138, allocations: 3.812 kB / 0.7455 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4138, allocations: 5.25 kB / 0.7455 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.225e-05/0.4139, allocations: 17.23 kB / 0.7455 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.012e-05/0.414, allocations: 55.72 kB / 0.7456 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.414, allocations: 0 / 0.7456 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.414, allocations: 0 / 0.7456 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.414, allocations: 4 kB / 0.7456 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.4142, allocations: 145.7 kB / 0.7457 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.4143, allocations: 36.62 kB / 0.7458 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.4143, allocations: 20.91 kB / 0.7458 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.4144, allocations: 6.578 kB / 0.7458 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.4144, allocations: 34.5 kB / 0.7458 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4144, allocations: 4 kB / 0.7458 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001554/0.416, allocations: 419 kB / 0.7462 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.416, allocations: 51.41 kB / 0.7463 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.416, allocations: 92.97 kB / 0.7464 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4161, allocations: 29.64 kB / 0.7464 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.4161, allocations: 85.08 kB / 0.7465 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.4161, allocations: 21.31 kB / 0.7465 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.4161, allocations: 0 / 0.7465 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.4162, allocations: 315.6 kB / 0.7468 GB, free: 25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.4163, allocations: 27.16 kB / 0.7468 GB, free: 25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.4163, allocations: 28.16 kB / 0.7469 GB, free: 25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.4164, allocations: 27.58 kB / 0.7469 GB, free: 25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.4164, allocations: 4.125 kB / 0.7469 GB, free: 25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.4166, allocations: 112 kB / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-06/0.4166, allocations: 7.688 kB / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4166, allocations: 0 / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.4166, allocations: 0 / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.4168, allocations: 25.28 kB / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.4169, allocations: 0 / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.417, allocations: 4.938 kB / 0.747 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.417, allocations: 10.5 kB / 0.747 GB, free: 24.95 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 7.507e-05/0.4171, allocations: 109.7 kB / 0.7471 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.4171, allocations: 7.719 kB / 0.7472 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.4172, allocations: 11.88 kB / 0.7472 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4172, allocations: 5.172 kB / 0.7472 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4172, allocations: 0 / 0.7472 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4173, allocations: 3.938 kB / 0.7472 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.4174, allocations: 154.4 kB / 0.7473 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4174, allocations: 1.641 kB / 0.7473 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.4176, allocations: 32.44 kB / 0.7474 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4176, allocations: 3.906 kB / 0.7474 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4176, allocations: 7.031 kB / 0.7474 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4176, allocations: 0 / 0.7474 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4177, allocations: 3.984 kB / 0.7474 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002547/0.4179, allocations: 167.4 kB / 0.7475 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.418, allocations: 77.86 kB / 0.7476 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.418, allocations: 0 / 0.7476 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.4182, allocations: 15.14 kB / 0.7476 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.4182, allocations: 5.344 kB / 0.7476 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.4182, allocations: 3.094 kB / 0.7476 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.742e-05/0.4183, allocations: 82.22 kB / 0.7477 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000215/0.4185, allocations: 32 kB / 0.7477 GB, free: 24.39 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.0001751/0.4187, allocations: 142.8 kB / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.4188, allocations: 64.09 kB / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4188, allocations: 3.938 kB / 0.7479 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.4189, allocations: 43.66 kB / 0.748 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.419, allocations: 4.734 kB / 0.748 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.4196, allocations: 118.2 kB / 0.7481 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.4199, allocations: 0.7106 MB / 0.7488 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.4199, allocations: 0 / 0.7488 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.004188/0.4241, allocations: 2.109 MB / 0.7508 GB, free: 23.36 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)