Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004347/0.004347, allocations: 96.19 kB / 15.87 MB, free: 6.297 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.001182/0.001182, allocations: 204.9 kB / 16.79 MB, free: 6.223 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.316/1.316, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8856/0.8856, allocations: 135.1 MB / 425.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 64.81 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1451, allocations: 80.93 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002539/0.1477, allocations: 1.463 MB / 0.5858 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.1487, allocations: 0.6163 MB / 0.5864 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.1487, allocations: 0 / 0.5864 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.1487, allocations: 0 / 0.5864 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.1488, allocations: 7.938 kB / 0.5864 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1491, allocations: 87.64 kB / 0.5865 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.1492, allocations: 19.92 kB / 0.5865 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1493, allocations: 11.98 kB / 0.5865 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.1493, allocations: 7.938 kB / 0.5865 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.1494, allocations: 11.98 kB / 0.5865 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1494, allocations: 0 / 0.5865 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.1496, allocations: 143.7 kB / 0.5867 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1497, allocations: 11.98 kB / 0.5867 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1497, allocations: 11.92 kB / 0.5867 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1498, allocations: 68.14 kB / 0.5867 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1499, allocations: 0 / 0.5867 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1499, allocations: 0 / 0.5867 GB, free: 2.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1499, allocations: 0 / 0.5867 GB, free: 2.523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004491/0.1503, allocations: 363.4 kB / 0.5871 GB, free: 2.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1504, allocations: 12.03 kB / 0.5871 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.1508, allocations: 32.89 kB / 0.5871 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1509, allocations: 160.4 kB / 0.5873 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.151, allocations: 384 / 0.5873 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.151, allocations: 4.375 kB / 0.5873 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1512, allocations: 66.2 kB / 0.5874 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1512, allocations: 192 / 0.5874 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1513, allocations: 7.938 kB / 0.5874 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1513, allocations: 3.938 kB / 0.5874 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.1515, allocations: 55.88 kB / 0.5874 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.152, allocations: 276.8 kB / 0.5877 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.1523, allocations: 62.47 kB / 0.5877 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1524, allocations: 32.89 kB / 0.5878 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1524, allocations: 0 / 0.5878 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.1525, allocations: 34.56 kB / 0.5878 GB, free: 1.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1525, allocations: 3.938 kB / 0.5878 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005216/0.153, allocations: 113.6 kB / 0.5879 GB, free: 1.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1531, allocations: 59.53 kB / 0.588 GB, free: 1.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.1531, allocations: 97.84 kB / 0.5881 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1532, allocations: 25.7 kB / 0.5881 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.1532, allocations: 88.08 kB / 0.5882 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1532, allocations: 7.891 kB / 0.5882 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1533, allocations: 13.72 kB / 0.5882 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1534, allocations: 314.8 kB / 0.5885 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1536, allocations: 31.97 kB / 0.5885 GB, free: 488 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1537, allocations: 23.97 kB / 0.5885 GB, free: 464 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1539, allocations: 60.73 kB / 0.5886 GB, free: 400 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1539, allocations: 8 kB / 0.5886 GB, free: 392 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002941/0.1542, allocations: 85.58 kB / 0.5887 GB, free: 300 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1543, allocations: 8 kB / 0.5887 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1543, allocations: 0 / 0.5887 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1543, allocations: 0 / 0.5887 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1544, allocations: 15.97 kB / 0.5887 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1544, allocations: 4.031 kB / 0.5887 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.1545, allocations: 7.984 kB / 0.5887 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1546, allocations: 8 kB / 0.5887 GB, free: 256 kB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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 7.126e-05/0.1546, allocations: 113.8 kB / 0.5888 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1547, allocations: 3.906 kB / 0.5889 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.1547, allocations: 7.125 kB / 0.5889 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1547, allocations: 4 kB / 0.5889 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1547, allocations: 0 / 0.5889 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1547, allocations: 7.922 kB / 0.5889 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1549, allocations: 169.6 kB / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1549, allocations: 0 / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1551, allocations: 11.98 kB / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1551, allocations: 0 / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1551, allocations: 0 / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.1551, allocations: 3.984 kB / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1551, allocations: 0 / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.1554, allocations: 187.4 kB / 0.5892 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1555, allocations: 81.05 kB / 0.5893 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1555, allocations: 0 / 0.5893 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1556, allocations: 12.02 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1557, allocations: 7.984 kB / 0.5893 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1557, allocations: 0 / 0.5893 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.1557, allocations: 83.28 kB / 0.5894 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1557, allocations: 0 / 0.5894 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002455/0.156, allocations: 8 kB / 0.5894 GB, free: 15.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001761/0.1562, allocations: 119.2 kB / 0.5895 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.1565, allocations: 59.94 kB / 0.5896 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1565, allocations: 0 / 0.5896 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1566, allocations: 35.89 kB / 0.5896 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.157, allocations: 7.938 kB / 0.5896 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.1574, allocations: 166.2 kB / 0.5898 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1577, allocations: 0.6847 MB / 0.5904 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.1577, allocations: 15.42 kB / 0.5905 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1578, allocations: 0 / 0.5905 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.002237/0.16, allocations: 0.8838 MB / 0.5913 GB, free: 13.44 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)