Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 218.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.305/3.305, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.22 kB / 1.177 GB, free: 17.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3536, allocations: 180.2 MB / 1.353 GB, free: 8.578 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002899/0.3565, allocations: 1.308 MB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3578, allocations: 0.6582 MB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.3578, allocations: 0 / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.3579, allocations: 0 / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.3579, allocations: 3.938 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.3584, allocations: 115.4 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.3585, allocations: 23.92 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.3586, allocations: 4 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.3586, allocations: 8 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.3586, allocations: 15.91 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3587, allocations: 4 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.359, allocations: 151.7 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.359, allocations: 3.984 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.359, allocations: 11.92 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3592, allocations: 100 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3592, allocations: 4 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3592, allocations: 0 / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3592, allocations: 0 / 1.355 GB, free: 6.164 MB / 1.045 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.0005132/0.3598, allocations: 286 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3598, allocations: 8.031 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3598, allocations: 30.75 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/0.3603, allocations: 40.83 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3605, allocations: 106.5 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3605, allocations: 12.38 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3605, allocations: 384 / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3607, allocations: 54.22 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3607, allocations: 3.938 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3607, allocations: 3.984 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3607, allocations: 0 / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3608, allocations: 27.98 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.361, allocations: 144.6 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.3614, allocations: 70.52 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.3615, allocations: 24.94 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3615, allocations: 4 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3615, allocations: 30.56 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3615, allocations: 0 / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.003796/0.3653, allocations: 0.5046 MB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3654, allocations: 51.41 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.3654, allocations: 101.8 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3655, allocations: 25.7 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.3655, allocations: 80.14 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.3655, allocations: 27.78 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.3656, allocations: 25.83 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3658, allocations: 314.8 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3659, allocations: 39.97 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.366, allocations: 35.97 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.3663, allocations: 84.8 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3664, allocations: 0 / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003748/0.3667, allocations: 121.6 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3667, allocations: 12 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3667, allocations: 3.938 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3668, allocations: 7.875 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.367, allocations: 19.97 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.367, allocations: 4 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.3672, allocations: 4 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3672, allocations: 4.312 kB / 1.357 GB, free: 3.66 MB / 1.045 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.0001047/0.3673, allocations: 121.8 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.3673, allocations: 7.891 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.3674, allocations: 12.06 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3674, allocations: 3.984 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3674, allocations: 0 / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3674, allocations: 3.984 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3676, allocations: 158.8 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3676, allocations: 3.984 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3679, allocations: 27.91 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3679, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3679, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3679, allocations: 4.062 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3679, allocations: 3.938 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3685, allocations: 193 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.3685, allocations: 7.891 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.3685, allocations: 0 / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3687, allocations: 20.08 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.3687, allocations: 4 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3687, allocations: 3.984 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.3688, allocations: 79.28 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3688, allocations: 0 / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002619/0.3691, allocations: 27.94 kB / 1.358 GB, free: 2.918 MB / 1.045 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.00102/0.3701, allocations: 0.7568 MB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.3704, allocations: 87.98 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3704, allocations: 0 / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3706, allocations: 43.89 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3709, allocations: 15.7 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.3731, allocations: 1.357 MB / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.3735, allocations: 0.6807 MB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.3737, allocations: 24 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.3737, allocations: 23.41 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/0.3737, allocations: 0 / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.4069, allocations: 2.624 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 1.172 kB / 1.364 GB, free: 13.36 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.632810114184394] Failed to read output from testmodel.py, exit status != 0: 11.841021602973342 11.857964597 11.495506035 Calling exit ...