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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008443/0.008443, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7358/0.7358, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.501/1.501, allocations: 223.2 MB / 406.9 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.000857, allocations: 101.8 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004896, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.456, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.6167, allocations: 112.6 MB / 0.7594 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.6171, allocations: 95.92 kB / 0.7595 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008862/0.626, allocations: 2.877 MB / 0.7623 GB, free: 464 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/0.626, allocations: 3.938 kB / 0.7624 GB, free: 460 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.626, allocations: 4 kB / 0.7624 GB, free: 456 kB / 0.5261 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.0004156/0.6264, allocations: 355.3 kB / 0.7627 GB, free: 52 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6265, allocations: 8.031 kB / 0.7627 GB, free: 44 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.6269, allocations: 27.88 kB / 0.7627 GB, free: 16 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.627, allocations: 178.9 kB / 0.7629 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.6271, allocations: 4 kB / 0.7629 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.6271, allocations: 0 / 0.7629 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.6273, allocations: 57.66 kB / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6273, allocations: 0 / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.6273, allocations: 0 / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6273, allocations: 0 / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.6275, allocations: 31.97 kB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.6277, allocations: 161.6 kB / 0.7631 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.628, allocations: 82.5 kB / 0.7632 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.628, allocations: 0 / 0.7632 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.628, allocations: 34.56 kB / 0.7633 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.628, allocations: 0 / 0.7633 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.003743/0.6318, allocations: 0.576 MB / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6318, allocations: 55.41 kB / 0.7639 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.6319, allocations: 92.98 kB / 0.764 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.6319, allocations: 25.7 kB / 0.764 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.632, allocations: 88.2 kB / 0.7641 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.632, allocations: 27.64 kB / 0.7641 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.632, allocations: 0 / 0.7641 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6322, allocations: 318.8 kB / 0.7644 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.6323, allocations: 43.89 kB / 0.7644 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.6324, allocations: 35.97 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.6326, allocations: 39.98 kB / 0.7645 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.6326, allocations: 0 / 0.7645 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003397/0.6329, allocations: 121.6 kB / 0.7646 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.633, allocations: 4 kB / 0.7646 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.633, allocations: 0 / 0.7646 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.633, allocations: 4 kB / 0.7646 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.6332, allocations: 23.97 kB / 0.7647 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6332, allocations: 0 / 0.7647 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.6334, allocations: 11.98 kB / 0.7647 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.6334, allocations: 7.984 kB / 0.7647 GB, free: 13.81 MB / 0.5417 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 () * Number of clocked 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 8.341e-05/0.6335, allocations: 113.7 kB / 0.7648 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.6336, allocations: 7.906 kB / 0.7648 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.6336, allocations: 11.97 kB / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6336, allocations: 0 / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6337, allocations: 4 kB / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6337, allocations: 0 / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.6338, allocations: 192.3 kB / 0.765 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6338, allocations: 8 kB / 0.765 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.6341, allocations: 20.3 kB / 0.765 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6341, allocations: 0 / 0.765 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.6341, allocations: 11.92 kB / 0.765 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6341, allocations: 0 / 0.765 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.6341, allocations: 0 / 0.765 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.6347, allocations: 204.9 kB / 0.7652 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.6348, allocations: 85.12 kB / 0.7653 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.6348, allocations: 0 / 0.7653 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.635, allocations: 8 kB / 0.7653 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.635, allocations: 8.172 kB / 0.7653 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.635, allocations: 15.92 kB / 0.7653 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.6351, allocations: 75.28 kB / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.6351, allocations: 0 / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002743/0.6354, allocations: 36 kB / 0.7654 GB, free: 12.92 MB / 0.5417 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 () * Number of clocked 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.0002394/0.6356, allocations: 131.2 kB / 0.7656 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.636, allocations: 95.94 kB / 0.7657 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.636, allocations: 0 / 0.7657 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.6361, allocations: 47.95 kB / 0.7657 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.6363, allocations: 4 kB / 0.7657 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.6369, allocations: 178.7 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.6372, allocations: 0.6848 MB / 0.7665 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.6375, allocations: 31.88 kB / 0.7666 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.6376, allocations: 19.42 kB / 0.7666 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6376, allocations: 0 / 0.7666 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.004033/0.6416, allocations: 1.458 MB / 0.768 GB, free: 10.26 MB / 0.5417 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)