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.001561/0.001561, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.0016/0.0016, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 8.039 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 3.141/3.141, allocations: 476.8 MB / 0.7707 GB, free: 4.305 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.00215/0.00215, allocations: 70.08 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3566, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002802/0.3594, allocations: 1.317 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3606, allocations: 0.6483 MB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.3606, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.3606, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.3607, allocations: 3.938 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.3613, allocations: 119.5 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.3613, allocations: 15.94 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.3614, allocations: 7.984 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.668e-05/0.3614, allocations: 12 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.3615, allocations: 15.92 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3615, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.3618, allocations: 151.7 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.3618, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3619, allocations: 19.92 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3621, allocations: 99.7 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3621, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3621, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3621, allocations: 0 / 1.286 GB, free: 9.188 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.0005325/0.3626, allocations: 290.1 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3627, allocations: 12.02 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.3627, allocations: 34.75 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.3632, allocations: 24.91 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3633, allocations: 118.5 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3633, allocations: 384 / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3634, allocations: 4.375 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3636, allocations: 54.22 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3636, allocations: 3.938 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3636, allocations: 4 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3636, allocations: 0 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3637, allocations: 31.95 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.3639, allocations: 140.6 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.3643, allocations: 70.52 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.3643, allocations: 24.94 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3644, allocations: 3.984 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3644, allocations: 34.56 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3644, allocations: 0 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003711/0.3681, allocations: 0.5084 MB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.3682, allocations: 55.41 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.3682, allocations: 101.8 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3683, allocations: 25.7 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.3683, allocations: 80.14 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.3683, allocations: 27.73 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.3684, allocations: 25.69 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3685, allocations: 318.8 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3687, allocations: 36.09 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3688, allocations: 35.97 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.3691, allocations: 80.81 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3691, allocations: 4 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003883/0.3695, allocations: 129.7 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3695, allocations: 4 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.3695, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3695, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.3698, allocations: 27.91 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3698, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.37, allocations: 11.98 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.37, allocations: 4 kB / 1.288 GB, free: 6.668 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.0001003/0.3701, allocations: 109.8 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3701, allocations: 7.938 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.3702, allocations: 16 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3702, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3702, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3702, allocations: 64 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3704, allocations: 158.8 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3704, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3706, allocations: 27.91 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3706, allocations: 4 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3706, allocations: 3.984 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3706, allocations: 7.938 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3706, allocations: 0 / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.3712, allocations: 192.9 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.3712, allocations: 3.938 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.3713, allocations: 8.031 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3714, allocations: 11.92 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.3715, allocations: 7.984 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3715, allocations: 336 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.3715, allocations: 87.33 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002589/0.3718, allocations: 31.94 kB / 1.289 GB, free: 5.93 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.0009946/0.3728, allocations: 0.7567 MB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.3731, allocations: 83.98 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3731, allocations: 4 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3733, allocations: 43.91 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3736, allocations: 11.98 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.3758, allocations: 1.353 MB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3761, allocations: 0.6792 MB / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.3763, allocations: 32 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.3764, allocations: 23.42 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3764, allocations: 4 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.409, allocations: 2.601 MB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 11.11 kB / 1.294 GB, free: 392 kB / 0.9825 GB " [Timeout remaining time 288] (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: 18.590968522941694] Failed to read output from testmodel.py, exit status != 0: 12.198728048009798 11.649621641 11.284363166 Calling exit ...