Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [: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.002054/0.002054, allocations: 181.6 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5958/0.5958, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.14/1.14, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008625/0.0008625, allocations: 100 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.703e-06, allocations: 2.625 kB / 0.5529 GB, free: 89.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 82.3 MB / 0.6332 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.4252, allocations: 110.8 MB / 0.7414 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4255, allocations: 81.73 kB / 0.7415 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004358/0.4299, allocations: 1.539 MB / 0.743 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4299, allocations: 0 / 0.743 GB, free: 10.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003338/0.4302, allocations: 330.9 kB / 0.7433 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4303, allocations: 7.312 kB / 0.7433 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.4304, allocations: 19.83 kB / 0.7433 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4306, allocations: 160.3 kB / 0.7435 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4306, allocations: 9.688 kB / 0.7435 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.4306, allocations: 3.875 kB / 0.7435 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.195e-05/0.4307, allocations: 12.92 kB / 0.7435 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.718e-05/0.4308, allocations: 40.5 kB / 0.7436 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4308, allocations: 3.938 kB / 0.7436 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4309, allocations: 3.906 kB / 0.7436 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4309, allocations: 0 / 0.7436 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.4311, allocations: 140.8 kB / 0.7437 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.4312, allocations: 38.33 kB / 0.7437 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.4312, allocations: 19.33 kB / 0.7438 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.4312, allocations: 3.875 kB / 0.7438 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4312, allocations: 30.56 kB / 0.7438 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.4312, allocations: 0 / 0.7438 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001919/0.4332, allocations: 478 kB / 0.7442 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.4332, allocations: 51.41 kB / 0.7443 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.873e-05/0.4332, allocations: 85 kB / 0.7444 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4333, allocations: 25.7 kB / 0.7444 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.4333, allocations: 81.69 kB / 0.7445 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.4333, allocations: 30.69 kB / 0.7445 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.4333, allocations: 0 / 0.7445 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.4335, allocations: 312.4 kB / 0.7448 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.4335, allocations: 21.44 kB / 0.7448 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.4335, allocations: 22.28 kB / 0.7448 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.4336, allocations: 29.89 kB / 0.7449 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.4336, allocations: 0 / 0.7449 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001143/0.4337, allocations: 78.75 kB / 0.7449 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.4337, allocations: 3.969 kB / 0.745 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.4337, allocations: 96 / 0.745 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4337, allocations: 7.844 kB / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4339, allocations: 20.62 kB / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.4339, allocations: 5.531 kB / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.434, allocations: 0 / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.434, allocations: 4 kB / 0.745 GB, free: 24.98 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 (9): * Single equations (assignments): 9 * 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 6.082e-05/0.434, allocations: 104.8 kB / 0.7451 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.434, allocations: 3.906 kB / 0.7451 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.4341, allocations: 16.41 kB / 0.7451 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.4341, allocations: 0 / 0.7451 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4341, allocations: 3.969 kB / 0.7451 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4341, allocations: 0 / 0.7451 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.4342, allocations: 151.3 kB / 0.7453 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4342, allocations: 0 / 0.7453 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.4344, allocations: 17.75 kB / 0.7453 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4344, allocations: 3.984 kB / 0.7453 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.4344, allocations: 0 / 0.7453 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4344, allocations: 9.484 kB / 0.7453 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4344, allocations: 0 / 0.7453 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001709/0.4346, allocations: 134.1 kB / 0.7454 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.4346, allocations: 81.27 kB / 0.7455 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.4346, allocations: 1.266 kB / 0.7455 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4347, allocations: 13.27 kB / 0.7455 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.4348, allocations: 5.25 kB / 0.7455 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.4348, allocations: 0 / 0.7455 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.106e-05/0.4348, allocations: 75.28 kB / 0.7456 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001711/0.435, allocations: 11.53 kB / 0.7456 GB, free: 24.44 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 (8): * Single equations (assignments): 8 * 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.0001085/0.4351, allocations: 109.3 kB / 0.7457 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.4352, allocations: 58.97 kB / 0.7458 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4352, allocations: 4 kB / 0.7458 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.4353, allocations: 29.66 kB / 0.7458 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.4354, allocations: 14.44 kB / 0.7458 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.4358, allocations: 119.5 kB / 0.7459 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.4361, allocations: 0.7036 MB / 0.7466 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4361, allocations: 0 / 0.7466 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.002399/0.4385, allocations: 0.9412 MB / 0.7475 GB, free: 23.5 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)