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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 112.5 kB / 16.37 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7844/0.7844, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 62.03 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002134/0.1381, allocations: 1.279 MB / 0.6615 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1392, allocations: 0.6476 MB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.1392, allocations: 4 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1392, allocations: 0 / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.1393, allocations: 11.92 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.1397, allocations: 103.5 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.1398, allocations: 23.86 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1398, allocations: 3.938 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.1398, allocations: 12 kB / 0.6623 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.1399, allocations: 11.97 kB / 0.6623 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1399, allocations: 0 / 0.6623 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.1402, allocations: 143.8 kB / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.1403, allocations: 15.92 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.1403, allocations: 7.984 kB / 0.6625 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1405, allocations: 91.78 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1405, allocations: 7.938 kB / 0.6626 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1405, allocations: 0 / 0.6626 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.1405, allocations: 3.984 kB / 0.6626 GB, free: 7.918 MB / 0.4981 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.0004893/0.141, allocations: 351.5 kB / 0.6629 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.141, allocations: 12.03 kB / 0.6629 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.1414, allocations: 28.91 kB / 0.663 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1416, allocations: 168.2 kB / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1416, allocations: 384 / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1417, allocations: 8.375 kB / 0.6631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1418, allocations: 58.2 kB / 0.6632 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1418, allocations: 4.125 kB / 0.6632 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1419, allocations: 7.938 kB / 0.6632 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.1419, allocations: 0 / 0.6632 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.142, allocations: 31.91 kB / 0.6632 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.1422, allocations: 157.7 kB / 0.6634 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1425, allocations: 66.58 kB / 0.6635 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.359e-05/0.1426, allocations: 32.92 kB / 0.6635 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1426, allocations: 0 / 0.6635 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1426, allocations: 34.56 kB / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1426, allocations: 0 / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003242/0.1459, allocations: 0.5759 MB / 0.6641 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1459, allocations: 55.41 kB / 0.6641 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.146, allocations: 93.86 kB / 0.6642 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.146, allocations: 25.7 kB / 0.6642 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1461, allocations: 88.27 kB / 0.6643 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1461, allocations: 19.7 kB / 0.6643 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.1462, allocations: 25.7 kB / 0.6644 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1463, allocations: 314.8 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1464, allocations: 43.97 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1466, allocations: 35.97 kB / 0.6647 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1469, allocations: 88.94 kB / 0.6648 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1469, allocations: 0 / 0.6648 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003574/0.1472, allocations: 125.6 kB / 0.665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1473, allocations: 7.938 kB / 0.665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1473, allocations: 0 / 0.665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1473, allocations: 4 kB / 0.665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1475, allocations: 23.91 kB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1475, allocations: 0 / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1477, allocations: 7.984 kB / 0.665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1477, allocations: 8 kB / 0.665 GB, free: 5.18 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.733e-05/0.1478, allocations: 110.7 kB / 0.6651 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1478, allocations: 7.938 kB / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.1479, allocations: 11.95 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1479, allocations: 8 kB / 0.6651 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.148, allocations: 0 / 0.6651 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.148, allocations: 4 kB / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.1481, allocations: 195.6 kB / 0.6653 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1481, allocations: 0 / 0.6653 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1483, allocations: 23.91 kB / 0.6653 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1484, allocations: 3.938 kB / 0.6654 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1484, allocations: 4 kB / 0.6654 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1484, allocations: 3.984 kB / 0.6654 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1484, allocations: 0 / 0.6654 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.1489, allocations: 185 kB / 0.6655 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.149, allocations: 85.08 kB / 0.6656 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.149, allocations: 4.062 kB / 0.6656 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1492, allocations: 11.98 kB / 0.6656 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.1492, allocations: 0 / 0.6656 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1492, allocations: 11.98 kB / 0.6656 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.1492, allocations: 75.28 kB / 0.6657 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1493, allocations: 0 / 0.6657 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002457/0.1495, allocations: 31.94 kB / 0.6657 GB, free: 4.312 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.0002041/0.1497, allocations: 139.2 kB / 0.6659 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.1501, allocations: 87.92 kB / 0.666 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1501, allocations: 0 / 0.666 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1503, allocations: 47.91 kB / 0.666 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.1505, allocations: 11.98 kB / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.1512, allocations: 179.6 kB / 0.6662 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1514, allocations: 0.6846 MB / 0.6669 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.1515, allocations: 23.41 kB / 0.6669 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1515, allocations: 0 / 0.6669 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of Templates: time 0.003665/0.1552, allocations: 1.58 MB / 0.6684 GB, free: 1.512 MB / 0.4981 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)