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.001324/0.001324, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001504/0.001504, allocations: 211.7 kB / 22.24 MB, free: 5.242 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.805 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.271/3.271, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.002085/0.002085, allocations: 70.23 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3702, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003204/0.3734, allocations: 1.302 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3746, allocations: 0.597 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.3746, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.3746, allocations: 11.92 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.799e-05/0.3747, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.3751, allocations: 115.4 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.3752, allocations: 23.92 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3752, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.3752, allocations: 11.92 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.3753, allocations: 15.98 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3753, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.3756, allocations: 139.7 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.3756, allocations: 11.98 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.3756, allocations: 11.94 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.3759, allocations: 99.97 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3759, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3759, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3759, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 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.0005416/0.3764, allocations: 278.1 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3765, allocations: 12.03 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.3765, allocations: 30.75 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.377, allocations: 36.83 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3771, allocations: 114.5 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3771, allocations: 384 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.3772, allocations: 4.375 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3774, allocations: 79.92 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3774, allocations: 3.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3774, allocations: 4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3774, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3776, allocations: 31.97 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3778, allocations: 128.7 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3781, allocations: 70.52 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.3782, allocations: 32.92 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3782, allocations: 0 / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3782, allocations: 38.5 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3782, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.00338/0.3816, allocations: 0.5045 MB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3817, allocations: 59.34 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3818, allocations: 93.86 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.3818, allocations: 25.7 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.3818, allocations: 80.14 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.3819, allocations: 31.77 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.382, allocations: 21.7 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3821, allocations: 322.8 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3823, allocations: 31.97 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3824, allocations: 40.09 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.3827, allocations: 80.81 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3827, allocations: 0 / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003701/0.3831, allocations: 129.5 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3831, allocations: 5.719 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3831, allocations: 8 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3831, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3833, allocations: 23.97 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3833, allocations: 0 / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3835, allocations: 11.98 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3835, allocations: 8 kB / 1.368 GB, free: 9.234 MB / 1.061 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.7e-05/0.3836, allocations: 106.9 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3836, allocations: 7.938 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/0.3837, allocations: 12.05 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3837, allocations: 0 / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3837, allocations: 4 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3837, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3839, allocations: 154.8 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3839, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3841, allocations: 27.91 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3841, allocations: 0 / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3841, allocations: 7.984 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3841, allocations: 3.938 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3841, allocations: 3.938 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.3847, allocations: 185 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.3847, allocations: 15.91 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3847, allocations: 0 / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3849, allocations: 12 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.3849, allocations: 11.98 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.385, allocations: 7.984 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.385, allocations: 75.28 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.385, allocations: 0 / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002539/0.3853, allocations: 31.94 kB / 1.369 GB, free: 8.5 MB / 1.061 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.001006/0.3863, allocations: 0.7532 MB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.3866, allocations: 91.91 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3866, allocations: 0 / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3868, allocations: 51.95 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.387, allocations: 11.94 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3892, allocations: 1.345 MB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.642e-05/0.3892, allocations: 63.41 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.3894, allocations: 28.03 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/0.3895, allocations: 19.42 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of SimCode: time 7.21e-07/0.3895, allocations: 4 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.4217, allocations: 3.065 MB / 1.374 GB, free: 3.133 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 8.438 kB / 1.374 GB, free: 3.125 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.81804360775277] Failed to read output from testmodel.py, exit status != 0: 11.841372832190245 11.857625493 11.478578069 Calling exit ...