Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001274/0.001274, allocations: 112.4 kB / 17.04 MB, free: 5.797 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.001317/0.001317, allocations: 195 kB / 17.98 MB, free: 5.02 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.25/1.25, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3354, allocations: 76.15 MB / 0.5576 GB, free: 36.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002004/0.3374, allocations: 1.271 MB / 0.5588 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.3382, allocations: 0.627 MB / 0.5594 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.3383, allocations: 0 / 0.5594 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.3383, allocations: 4.531 kB / 0.5595 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.3384, allocations: 13.91 kB / 0.5595 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.3388, allocations: 106.8 kB / 0.5596 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.3388, allocations: 28.77 kB / 0.5596 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.3389, allocations: 2.656 kB / 0.5596 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.3389, allocations: 19.47 kB / 0.5596 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.339, allocations: 7.609 kB / 0.5596 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.339, allocations: 2 kB / 0.5596 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.3392, allocations: 143.9 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.3392, allocations: 2.484 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.3393, allocations: 13.19 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3394, allocations: 104.8 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3394, allocations: 0 / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3395, allocations: 0 / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3395, allocations: 0 / 0.5599 GB, free: 35.05 MB / 446.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.0003659/0.3398, allocations: 352.8 kB / 0.5602 GB, free: 34.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3399, allocations: 8.406 kB / 0.5602 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.3403, allocations: 34.55 kB / 0.5603 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.3404, allocations: 169.7 kB / 0.5604 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.3404, allocations: 1.781 kB / 0.5604 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.3404, allocations: 2.688 kB / 0.5604 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3406, allocations: 57.38 kB / 0.5605 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3406, allocations: 2.641 kB / 0.5605 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3406, allocations: 3.938 kB / 0.5605 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3406, allocations: 1.531 kB / 0.5605 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3408, allocations: 27.91 kB / 0.5605 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.3409, allocations: 162.6 kB / 0.5607 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.3412, allocations: 70.22 kB / 0.5607 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.3413, allocations: 29.52 kB / 0.5608 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3413, allocations: 5.578 kB / 0.5608 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3414, allocations: 33.08 kB / 0.5608 GB, free: 34.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3414, allocations: 3.281 kB / 0.5608 GB, free: 34.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003279/0.3446, allocations: 0.5692 MB / 0.5614 GB, free: 33.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.3447, allocations: 57.69 kB / 0.5614 GB, free: 33.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.05e-05/0.3447, allocations: 94.55 kB / 0.5615 GB, free: 33.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3448, allocations: 34.98 kB / 0.5615 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.3448, allocations: 80.77 kB / 0.5616 GB, free: 33.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.3448, allocations: 25 kB / 0.5616 GB, free: 33.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.3449, allocations: 26.8 kB / 0.5617 GB, free: 33.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.3449, allocations: 314.9 kB / 0.562 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3451, allocations: 35.31 kB / 0.562 GB, free: 33.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3452, allocations: 39.09 kB / 0.562 GB, free: 33.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3454, allocations: 82.98 kB / 0.5621 GB, free: 33.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3454, allocations: 0 / 0.5621 GB, free: 33.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003159/0.3458, allocations: 123.5 kB / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3458, allocations: 8.844 kB / 0.5622 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3458, allocations: 5.812 kB / 0.5622 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3458, allocations: 1.859 kB / 0.5622 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.346, allocations: 22.45 kB / 0.5623 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3461, allocations: 0 / 0.5623 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3462, allocations: 7.781 kB / 0.5623 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.3462, allocations: 4.547 kB / 0.5623 GB, free: 33.07 MB / 446.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 (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 6.37e-05/0.3463, allocations: 114 kB / 0.5624 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3463, allocations: 11.03 kB / 0.5624 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.3464, allocations: 12.48 kB / 0.5624 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3464, allocations: 1.688 kB / 0.5624 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3464, allocations: 4.562 kB / 0.5624 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3464, allocations: 1.266 kB / 0.5624 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.3465, allocations: 185.5 kB / 0.5626 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3466, allocations: 2.797 kB / 0.5626 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.3468, allocations: 25.2 kB / 0.5626 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3468, allocations: 6.562 kB / 0.5626 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3468, allocations: 7.906 kB / 0.5626 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3468, allocations: 5.094 kB / 0.5626 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3468, allocations: 4.688 kB / 0.5626 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3473, allocations: 188.9 kB / 0.5628 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3474, allocations: 82.19 kB / 0.5629 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3474, allocations: 2.453 kB / 0.5629 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.3476, allocations: 11.06 kB / 0.5629 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.3476, allocations: 2.766 kB / 0.5629 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3476, allocations: 7 kB / 0.5629 GB, free: 32.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.973e-05/0.3476, allocations: 82.34 kB / 0.563 GB, free: 32.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3476, allocations: 0 / 0.563 GB, free: 32.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3479, allocations: 29.33 kB / 0.563 GB, free: 32.43 MB / 446.1 MB 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.0001777/0.3481, allocations: 128.3 kB / 0.5632 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3484, allocations: 89.16 kB / 0.5632 GB, free: 32.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3484, allocations: 0 / 0.5632 GB, free: 32.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3486, allocations: 48.44 kB / 0.5633 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.3488, allocations: 18.84 kB / 0.5633 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.3494, allocations: 178 kB / 0.5635 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.3495, allocations: 0.6789 MB / 0.5641 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.3497, allocations: 23.48 kB / 0.5642 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.3497, allocations: 18.19 kB / 0.5642 GB, free: 31.45 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3497, allocations: 0 / 0.5642 GB, free: 31.45 MB / 446.1 MB Notification: Performance of Templates: time 0.003993/0.3537, allocations: 1.504 MB / 0.5656 GB, free: 31.38 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)