Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001534/0.001534, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001534/0.001534, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.907/2.907, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_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.002226/0.002226, allocations: 68.88 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4922, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003076/0.4953, allocations: 1.3 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.4965, allocations: 0.5978 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.4965, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.4966, allocations: 3.984 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.4966, allocations: 7.938 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.4971, allocations: 119.4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.4972, allocations: 19.92 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.4972, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.4973, allocations: 16 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.4973, allocations: 15.91 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.4974, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.4976, allocations: 139.8 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.4977, allocations: 11.97 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.4977, allocations: 7.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.4979, allocations: 89.23 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4979, allocations: 7.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4979, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4979, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 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.000569/0.4985, allocations: 286.1 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4986, allocations: 12.03 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.4986, allocations: 34.75 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.4991, allocations: 32.89 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4992, allocations: 110.5 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4992, allocations: 4.375 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.4992, allocations: 384 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.4995, allocations: 87.92 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4995, allocations: 3.938 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4995, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.4995, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.4997, allocations: 27.97 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.4999, allocations: 140.6 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.5002, allocations: 70.52 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.5003, allocations: 20.94 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.5003, allocations: 4 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.5004, allocations: 34.56 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5004, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003328/0.5037, allocations: 0.5045 MB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.5038, allocations: 51.41 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.5038, allocations: 93.86 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.5039, allocations: 29.7 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.5039, allocations: 80.14 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.504, allocations: 27.78 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.504, allocations: 25.7 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5042, allocations: 322.7 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5043, allocations: 40.08 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.5045, allocations: 43.95 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.5048, allocations: 80.81 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5048, allocations: 8.062 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003574/0.5051, allocations: 121.9 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5051, allocations: 5.875 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5051, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5052, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.5054, allocations: 31.91 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5054, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.5055, allocations: 7.984 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.5055, allocations: 7.984 kB / 1.287 GB, free: 7.57 MB / 0.9825 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.0001245/0.5057, allocations: 109.8 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.5057, allocations: 7.938 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/0.5058, allocations: 19.98 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5058, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5058, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5058, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.506, allocations: 142.8 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.506, allocations: 0 / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.5062, allocations: 23.91 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5062, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.5062, allocations: 15.98 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5062, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5063, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.5069, allocations: 196.9 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.5069, allocations: 7.922 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.5069, allocations: 4.062 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.5071, allocations: 8.031 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.5071, allocations: 11.92 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5071, allocations: 3.984 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.576e-05/0.5072, allocations: 83.28 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.5072, allocations: 0 / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002788/0.5075, allocations: 27.88 kB / 1.288 GB, free: 6.844 MB / 0.9825 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.001186/0.5086, allocations: 0.7607 MB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.5091, allocations: 87.98 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5091, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.5092, allocations: 51.89 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.5096, allocations: 6.844 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.5121, allocations: 1.36 MB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.5122, allocations: 63.34 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.5124, allocations: 28.03 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.5125, allocations: 15.42 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.5125, allocations: 0 / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.5469, allocations: 3.065 MB / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.78, allocations: 5.484 kB / 1.293 GB, free: 1.473 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.005755482707173] Failed to read output from testmodel.py, exit status != 0: 12.678431096021086 11.909091184 11.405745049 Calling exit ...