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.001302/0.001302, allocations: 107.7 kB / 16.41 MB, free: 6.453 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.001252/0.001252, allocations: 192 kB / 17.34 MB, free: 5.711 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002571/0.002571, allocations: 291.1 kB / 291.5 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 107.8 kB / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4286, allocations: 86.98 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00251/0.4311, allocations: 1.284 MB / 0.7683 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4323, allocations: 0.6452 MB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.4324, allocations: 0 / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.4324, allocations: 0 / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.4324, allocations: 7.922 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.4329, allocations: 107.5 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.4329, allocations: 23.86 kB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.433, allocations: 7.938 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.433, allocations: 15.92 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.4331, allocations: 7.984 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.4331, allocations: 0 / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.4334, allocations: 147.8 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.4334, allocations: 8 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.4334, allocations: 11.92 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.4336, allocations: 101.3 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4336, allocations: 0 / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4336, allocations: 4 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.4336, allocations: 0 / 0.7694 GB, free: 1.5 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.0005538/0.4342, allocations: 355.2 kB / 0.7697 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4342, allocations: 12.03 kB / 0.7697 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.4346, allocations: 24.91 kB / 0.7698 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.4348, allocations: 168.3 kB / 0.7699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4348, allocations: 384 / 0.7699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.4348, allocations: 8.375 kB / 0.7699 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.435, allocations: 58.2 kB / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.435, allocations: 192 / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.435, allocations: 3.938 kB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.435, allocations: 0 / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.4352, allocations: 35.91 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.4354, allocations: 161.6 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.4357, allocations: 62.58 kB / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.4358, allocations: 32.94 kB / 0.7703 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.4358, allocations: 0 / 0.7703 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4359, allocations: 34.56 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.4359, allocations: 3.938 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.003555/0.4394, allocations: 0.5759 MB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.4395, allocations: 51.41 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.4395, allocations: 101.8 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4396, allocations: 25.7 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.4396, allocations: 80.14 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.4397, allocations: 31.77 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.4397, allocations: 25.7 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4399, allocations: 319 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.4401, allocations: 39.97 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.4402, allocations: 31.97 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4405, allocations: 84.97 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4405, allocations: 0 / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003636/0.4409, allocations: 125.5 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4409, allocations: 7.938 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4409, allocations: 0 / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4409, allocations: 4 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4411, allocations: 23.97 kB / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4411, allocations: 0 / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.4413, allocations: 7.984 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.4413, allocations: 4 kB / 0.7718 GB, free: 14.77 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 0.0001055/0.4414, allocations: 109.8 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.4415, allocations: 11.89 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.404e-05/0.4415, allocations: 15.95 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4415, allocations: 0 / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4415, allocations: 4 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4415, allocations: 0 / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.4417, allocations: 187.5 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4417, allocations: 4 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.442, allocations: 31.97 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.442, allocations: 3.938 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.442, allocations: 4 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.442, allocations: 3.984 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.442, allocations: 0 / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.4426, allocations: 189 kB / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.4426, allocations: 81.05 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.4426, allocations: 4.031 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.4428, allocations: 7.984 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.4428, allocations: 8.062 kB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4429, allocations: 11.98 kB / 0.7724 GB, free: 14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.4429, allocations: 75.28 kB / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4429, allocations: 3.938 kB / 0.7725 GB, free: 13.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002414/0.4431, allocations: 31.88 kB / 0.7725 GB, free: 13.89 MB / 0.545 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.0002381/0.4434, allocations: 131.1 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.4437, allocations: 84.02 kB / 0.7727 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4437, allocations: 0 / 0.7727 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4439, allocations: 47.91 kB / 0.7728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.4441, allocations: 7.984 kB / 0.7728 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.4448, allocations: 170 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.4451, allocations: 0.6807 MB / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.4453, allocations: 24 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.4454, allocations: 19.41 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4454, allocations: 0 / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Templates: time 0.004667/0.45, allocations: 1.52 MB / 0.7752 GB, free: 11.21 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)