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.0008365/0.0008365, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.000893/0.0008931, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8611/0.8611, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 11.98 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001362/0.1522, allocations: 0.9823 MB / 0.5882 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.1531, allocations: 0.5738 MB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.1532, allocations: 3.938 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1532, allocations: 3.938 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.1532, allocations: 11.97 kB / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1536, allocations: 95.72 kB / 0.5888 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.32e-05/0.1537, allocations: 7.984 kB / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1537, allocations: 7.984 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.1537, allocations: 8 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.1538, allocations: 15.91 kB / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1538, allocations: 4 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.1541, allocations: 155.8 kB / 0.589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.1541, allocations: 4 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1541, allocations: 33.64 kB / 0.5891 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1543, allocations: 68.14 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1543, allocations: 0 / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1543, allocations: 0 / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1543, allocations: 0 / 0.5891 GB, free: 1.117 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.0004044/0.1547, allocations: 355.2 kB / 0.5895 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1548, allocations: 8.031 kB / 0.5895 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.1551, allocations: 27.97 kB / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1553, allocations: 171 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1553, allocations: 0 / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.1553, allocations: 3.938 kB / 0.5897 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1555, allocations: 57.66 kB / 0.5897 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1555, allocations: 3.938 kB / 0.5897 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1555, allocations: 4 kB / 0.5897 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1555, allocations: 4 kB / 0.5897 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1557, allocations: 23.97 kB / 0.5898 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.1558, allocations: 169.6 kB / 0.5899 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1561, allocations: 70.61 kB / 0.59 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1561, allocations: 3.984 kB / 0.59 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.1562, allocations: 34.56 kB / 0.59 GB, free: 40 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1562, allocations: 4 kB / 0.59 GB, free: 36 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003081/0.1593, allocations: 0.5724 MB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1593, allocations: 51.41 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.815e-05/0.1594, allocations: 101.8 kB / 0.5907 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1594, allocations: 25.7 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.1594, allocations: 84.14 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1595, allocations: 19.84 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.1595, allocations: 0 / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.1596, allocations: 318.8 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1597, allocations: 39.95 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1599, allocations: 35.97 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.16, allocations: 43.92 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.16, allocations: 0 / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003008/0.1603, allocations: 117.6 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1603, allocations: 4 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1603, allocations: 0 / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1604, allocations: 8 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1606, allocations: 23.97 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1606, allocations: 0 / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1607, allocations: 7.984 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1607, allocations: 7.984 kB / 0.5914 GB, free: 14.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.1608, allocations: 125.7 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.1608, allocations: 7.844 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.1609, allocations: 12.2 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1609, allocations: 4 kB / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1609, allocations: 0 / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1609, allocations: 0 / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1611, allocations: 183.7 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1611, allocations: 0 / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.1613, allocations: 23.97 kB / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1613, allocations: 0 / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1614, allocations: 7.984 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1614, allocations: 0 / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.1614, allocations: 3.984 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.1619, allocations: 189 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.1619, allocations: 92.98 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.162, allocations: 3.984 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1621, allocations: 11.94 kB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.1622, allocations: 8.047 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.1622, allocations: 4.125 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.1622, allocations: 75.28 kB / 0.5922 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1622, allocations: 0 / 0.5922 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002303/0.1625, allocations: 39.92 kB / 0.5922 GB, free: 13.61 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 (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.0001975/0.1627, allocations: 123.2 kB / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.163, allocations: 88.02 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.163, allocations: 0 / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1631, allocations: 51.89 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.1633, allocations: 7.953 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.1639, allocations: 166.6 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1642, allocations: 0.6809 MB / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000223/0.1644, allocations: 27.94 kB / 0.5933 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.1645, allocations: 19.41 kB / 0.5933 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1645, allocations: 0 / 0.5933 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.003877/0.1684, allocations: 1.434 MB / 0.5947 GB, free: 11.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: