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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007939/0.0007938, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 181.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9179/0.9179, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 12 kB / 0.5083 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 82.31 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001258/0.1439, allocations: 0.9978 MB / 0.5896 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.145, allocations: 0.6452 MB / 0.5902 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.145, allocations: 0 / 0.5902 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.145, allocations: 4 kB / 0.5902 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.1451, allocations: 3.938 kB / 0.5903 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.1454, allocations: 91.69 kB / 0.5903 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.131e-05/0.1455, allocations: 31.8 kB / 0.5904 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1456, allocations: 0 / 0.5904 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.611e-05/0.1456, allocations: 15.92 kB / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.1456, allocations: 11.98 kB / 0.5904 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1457, allocations: 0 / 0.5904 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.1459, allocations: 151.7 kB / 0.5905 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.146, allocations: 7.969 kB / 0.5905 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.146, allocations: 33.64 kB / 0.5906 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1461, allocations: 68.14 kB / 0.5906 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1461, allocations: 0 / 0.5906 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1461, allocations: 0 / 0.5906 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1462, allocations: 0 / 0.5906 GB, free: 0.5273 MB / 494.1 MB 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.0004088/0.1466, allocations: 347.5 kB / 0.591 GB, free: 140 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1466, allocations: 16.03 kB / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.147, allocations: 32.75 kB / 0.591 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1472, allocations: 164.4 kB / 0.5912 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1472, allocations: 4.375 kB / 0.5912 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1472, allocations: 4.375 kB / 0.5912 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1474, allocations: 62.16 kB / 0.5912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.1474, allocations: 192 / 0.5912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1474, allocations: 3.938 kB / 0.5913 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1474, allocations: 0 / 0.5913 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1476, allocations: 27.97 kB / 0.5913 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1478, allocations: 169.7 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1481, allocations: 66.53 kB / 0.5915 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.1482, allocations: 28.94 kB / 0.5915 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1482, allocations: 0 / 0.5915 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1482, allocations: 38.5 kB / 0.5916 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1482, allocations: 0 / 0.5916 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003324/0.1516, allocations: 0.5762 MB / 0.5921 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1516, allocations: 59.34 kB / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.1517, allocations: 101.8 kB / 0.5923 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1517, allocations: 25.7 kB / 0.5923 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.1518, allocations: 84.14 kB / 0.5924 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1518, allocations: 15.72 kB / 0.5924 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.1518, allocations: 13.72 kB / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1519, allocations: 318.8 kB / 0.5927 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1521, allocations: 35.97 kB / 0.5928 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1522, allocations: 36.09 kB / 0.5928 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1525, allocations: 88.75 kB / 0.5929 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1525, allocations: 0 / 0.5929 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003454/0.1528, allocations: 121.6 kB / 0.593 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1529, allocations: 7.938 kB / 0.593 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1529, allocations: 0 / 0.593 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1529, allocations: 0 / 0.593 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1531, allocations: 27.97 kB / 0.593 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1531, allocations: 240 / 0.593 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1533, allocations: 11.98 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1533, allocations: 7.984 kB / 0.593 GB, free: 13.8 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.653e-05/0.1534, allocations: 117.7 kB / 0.5932 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1534, allocations: 15.83 kB / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.1535, allocations: 11.97 kB / 0.5932 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1535, allocations: 0 / 0.5932 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1535, allocations: 4 kB / 0.5932 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1535, allocations: 0 / 0.5932 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1537, allocations: 175.7 kB / 0.5934 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1537, allocations: 4.062 kB / 0.5934 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.1539, allocations: 23.97 kB / 0.5934 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1539, allocations: 3.938 kB / 0.5934 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.154, allocations: 11.98 kB / 0.5934 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.154, allocations: 0 / 0.5934 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.154, allocations: 4 kB / 0.5934 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.1545, allocations: 185 kB / 0.5936 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.1545, allocations: 93.05 kB / 0.5937 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1546, allocations: 0 / 0.5937 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1548, allocations: 11.98 kB / 0.5937 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.1548, allocations: 3.984 kB / 0.5937 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1548, allocations: 4 kB / 0.5937 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.1548, allocations: 75.28 kB / 0.5938 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1548, allocations: 3.938 kB / 0.5938 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002384/0.1551, allocations: 44.02 kB / 0.5938 GB, free: 12.92 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.1553, allocations: 119.2 kB / 0.5939 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1556, allocations: 83.92 kB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1556, allocations: 8 kB / 0.594 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1558, allocations: 47.91 kB / 0.594 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.156, allocations: 7.984 kB / 0.5941 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.1566, allocations: 208.4 kB / 0.5943 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1568, allocations: 0.677 MB / 0.5949 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.1569, allocations: 23.41 kB / 0.5949 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1569, allocations: 0 / 0.5949 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.002967/0.1599, allocations: 1.558 MB / 0.5965 GB, free: 10.15 MB / 0.4981 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)