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.006962/0.006962, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001299/0.001299, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8284/0.8284, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.97 kB / 0.5814 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2041, allocations: 80.22 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002932/0.207, allocations: 1.264 MB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2083, allocations: 0.6515 MB / 0.6616 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.2084, allocations: 0 / 0.6616 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.2084, allocations: 0 / 0.6616 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.2085, allocations: 11.92 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.2092, allocations: 107.5 kB / 0.6617 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.224e-05/0.2093, allocations: 23.92 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.2093, allocations: 4 kB / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.2094, allocations: 7.938 kB / 0.6617 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.2094, allocations: 15.97 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2095, allocations: 4 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.2097, allocations: 135.8 kB / 0.6619 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.2098, allocations: 27.8 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.2098, allocations: 7.984 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.21, allocations: 91.78 kB / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2101, allocations: 0 / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2101, allocations: 0 / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2101, allocations: 0 / 0.662 GB, free: 7.902 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.000489/0.2106, allocations: 359.5 kB / 0.6623 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2106, allocations: 8.031 kB / 0.6623 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.211, allocations: 28.91 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2112, allocations: 168.3 kB / 0.6625 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2112, allocations: 4.375 kB / 0.6625 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.2112, allocations: 384 / 0.6625 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2114, allocations: 58.2 kB / 0.6626 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2114, allocations: 4.125 kB / 0.6626 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2114, allocations: 3.938 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2115, allocations: 7.938 kB / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2116, allocations: 31.97 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.2118, allocations: 157.7 kB / 0.6628 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2122, allocations: 70.58 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.2123, allocations: 24.94 kB / 0.6629 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2123, allocations: 3.984 kB / 0.6629 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2123, allocations: 34.5 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2123, allocations: 0 / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003308/0.2156, allocations: 0.5759 MB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2157, allocations: 55.41 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.245e-05/0.2158, allocations: 93.86 kB / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2158, allocations: 25.7 kB / 0.6636 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.2158, allocations: 84.27 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.2159, allocations: 23.7 kB / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.2159, allocations: 21.7 kB / 0.6638 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2161, allocations: 326.8 kB / 0.6641 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.2162, allocations: 35.97 kB / 0.6641 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2164, allocations: 39.97 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.2167, allocations: 84.73 kB / 0.6642 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2167, allocations: 0 / 0.6642 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003456/0.217, allocations: 122.1 kB / 0.6643 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2171, allocations: 11.94 kB / 0.6644 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2171, allocations: 4.141 kB / 0.6644 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2171, allocations: 0 / 0.6644 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2173, allocations: 23.97 kB / 0.6644 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2173, allocations: 3.984 kB / 0.6644 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2175, allocations: 11.98 kB / 0.6644 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2175, allocations: 4 kB / 0.6644 GB, free: 5.156 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 9.287e-05/0.2176, allocations: 114.7 kB / 0.6645 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.2176, allocations: 7.922 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.2177, allocations: 15.95 kB / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2177, allocations: 4 kB / 0.6645 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2177, allocations: 0 / 0.6645 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2177, allocations: 0 / 0.6645 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.2179, allocations: 195.6 kB / 0.6647 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2179, allocations: 0 / 0.6647 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2181, allocations: 23.97 kB / 0.6647 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2182, allocations: 3.938 kB / 0.6647 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2182, allocations: 0 / 0.6647 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2182, allocations: 3.984 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2182, allocations: 0 / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.2187, allocations: 189 kB / 0.6649 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.2188, allocations: 81.05 kB / 0.665 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.2188, allocations: 8 kB / 0.665 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.219, allocations: 16.02 kB / 0.665 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.219, allocations: 4 kB / 0.665 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.219, allocations: 3.984 kB / 0.665 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.2191, allocations: 79.28 kB / 0.6651 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2191, allocations: 0 / 0.6651 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002468/0.2193, allocations: 31.94 kB / 0.6651 GB, free: 4.285 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.0002115/0.2196, allocations: 135.3 kB / 0.6653 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.22, allocations: 83.92 kB / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.22, allocations: 0 / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2201, allocations: 47.91 kB / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2204, allocations: 20.11 kB / 0.6654 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.2211, allocations: 157.9 kB / 0.6656 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2213, allocations: 0.6807 MB / 0.6662 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000158/0.2215, allocations: 20 kB / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.2216, allocations: 27.41 kB / 0.6663 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2216, allocations: 0 / 0.6663 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of Templates: time 0.004506/0.2261, allocations: 1.518 MB / 0.6678 GB, free: 1.598 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)