Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001215/0.001215, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001181/0.001181, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 293.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.886/0.886, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 96.12 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3651, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0021/0.3672, allocations: 1.28 MB / 0.7683 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.3682, allocations: 0.649 MB / 0.769 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.3682, allocations: 0 / 0.769 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3682, allocations: 0 / 0.769 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.3683, allocations: 3.938 kB / 0.769 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.3687, allocations: 111.5 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.3688, allocations: 23.92 kB / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.3688, allocations: 4 kB / 0.7691 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.46e-05/0.3688, allocations: 11.98 kB / 0.7691 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.3689, allocations: 15.91 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3689, allocations: 4 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.3692, allocations: 143.7 kB / 0.7693 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.3692, allocations: 4 kB / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.3692, allocations: 15.92 kB / 0.7693 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3694, allocations: 95.48 kB / 0.7694 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3694, allocations: 0 / 0.7694 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3694, allocations: 4 kB / 0.7694 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3694, allocations: 0 / 0.7694 GB, free: 1.574 MB / 0.5294 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.0004172/0.3699, allocations: 350.2 kB / 0.7697 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3699, allocations: 8.031 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.3703, allocations: 32.8 kB / 0.7698 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3704, allocations: 168.3 kB / 0.7699 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.3704, allocations: 384 / 0.7699 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3704, allocations: 4.375 kB / 0.7699 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3706, allocations: 62.16 kB / 0.77 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.3706, allocations: 192 / 0.77 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3706, allocations: 3.938 kB / 0.77 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3707, allocations: 0 / 0.77 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3708, allocations: 31.97 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.371, allocations: 165.7 kB / 0.7702 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.3713, allocations: 66.53 kB / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.3714, allocations: 32.88 kB / 0.7703 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3714, allocations: 3.984 kB / 0.7703 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.3714, allocations: 34.56 kB / 0.7703 GB, free: 480 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3714, allocations: 0 / 0.7703 GB, free: 480 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.00325/0.3747, allocations: 0.5798 MB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.3747, allocations: 51.41 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.3748, allocations: 93.86 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3748, allocations: 33.64 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.3748, allocations: 80.14 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.3749, allocations: 27.64 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.3749, allocations: 25.83 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.375, allocations: 310.8 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3752, allocations: 35.97 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3753, allocations: 43.95 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.3756, allocations: 80.77 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3756, allocations: 0 / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003429/0.376, allocations: 121.6 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.376, allocations: 15.92 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.376, allocations: 4 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.376, allocations: 0 / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3762, allocations: 19.97 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3762, allocations: 4 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3764, allocations: 4 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.3764, allocations: 3.984 kB / 0.7718 GB, free: 14.84 MB / 0.545 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 7.893e-05/0.3765, allocations: 117.8 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3765, allocations: 11.84 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.3766, allocations: 11.97 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3766, allocations: 0 / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3766, allocations: 0 / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.3766, allocations: 81.09 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3767, allocations: 0 / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3769, allocations: 12 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.3769, allocations: 7.984 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000527/0.3774, allocations: 204.9 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005556/0.378, allocations: 338.7 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000147/0.3782, allocations: 52.05 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.3782, allocations: 79.28 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3782, allocations: 0 / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005845/0.3788, allocations: 190.2 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004323/0.3792, allocations: 0.5726 MB / 0.7734 GB, free: 13.08 MB / 0.545 GB Notification: Performance of Templates: time 0.004745/0.384, allocations: 2.46 MB / 0.7758 GB, free: 10.68 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)