Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001612/0.001612, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001849/0.001849, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.22/3.22, allocations: 0.49 GB / 0.7916 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_12_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.00208/0.00208, allocations: 64.75 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.368, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002628/0.3706, allocations: 1.295 MB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3718, allocations: 0.6507 MB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.3718, allocations: 0 / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.3719, allocations: 0 / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.3719, allocations: 7.922 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.3724, allocations: 111.5 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.3725, allocations: 27.86 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.3725, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.3726, allocations: 4 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.3726, allocations: 23.91 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.3726, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.373, allocations: 147.7 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.373, allocations: 11.97 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.373, allocations: 11.94 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3733, allocations: 96.05 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3733, allocations: 3.938 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3733, allocations: 0 / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3733, allocations: 0 / 1.323 GB, free: 0.9297 MB / 1.014 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.0005494/0.3738, allocations: 359.2 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3739, allocations: 11.98 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.3739, allocations: 38.75 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.3744, allocations: 32.89 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3746, allocations: 160.4 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3746, allocations: 4.375 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3746, allocations: 384 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.3748, allocations: 66.14 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3748, allocations: 3.938 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3748, allocations: 4 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3748, allocations: 7.984 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.375, allocations: 27.97 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.3753, allocations: 169.7 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.3756, allocations: 70.58 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.3757, allocations: 24.88 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3757, allocations: 4 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3758, allocations: 30.56 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3758, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.003879/0.3797, allocations: 0.5798 MB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3797, allocations: 55.41 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.3798, allocations: 89.86 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3798, allocations: 29.7 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.3798, allocations: 80.14 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3799, allocations: 27.91 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.38, allocations: 25.7 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3801, allocations: 322.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3803, allocations: 35.97 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3804, allocations: 35.95 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.3807, allocations: 88.75 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3807, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004247/0.3812, allocations: 125.7 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3812, allocations: 10.34 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3812, allocations: 0 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3812, allocations: 4 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.3814, allocations: 19.97 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3814, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3816, allocations: 11.98 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3816, allocations: 4 kB / 1.326 GB, free: 14.12 MB / 1.029 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.0001144/0.3817, allocations: 121.8 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3818, allocations: 7.891 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/0.3818, allocations: 11.95 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3818, allocations: 4 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3818, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3818, allocations: 4 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.382, allocations: 187.7 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3821, allocations: 3.938 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.3823, allocations: 23.91 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3823, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3823, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3823, allocations: 3.984 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3823, allocations: 4.062 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.3829, allocations: 189 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.383, allocations: 85.08 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.383, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3832, allocations: 16.05 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.3832, allocations: 336 / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3833, allocations: 7.984 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.3833, allocations: 75.28 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3833, allocations: 0 / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002764/0.3836, allocations: 35.88 kB / 1.326 GB, free: 13.25 MB / 1.029 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.001032/0.3846, allocations: 0.7606 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.385, allocations: 87.98 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.385, allocations: 0 / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.3852, allocations: 43.95 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.3854, allocations: 12 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.3876, allocations: 1.36 MB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3879, allocations: 0.6807 MB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.3881, allocations: 32.02 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.3882, allocations: 23.41 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3882, allocations: 0 / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.4156, allocations: 2.496 MB / 1.332 GB, free: 7.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.619, allocations: 15.88 kB / 1.332 GB, free: 7.812 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-09 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.31089843204245] Failed to read output from testmodel.py, exit status != 0: 8.691573304124177 8.718661486 8.3404362 Calling exit ...