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.001508/0.001508, 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.001681/0.001681, allocations: 214.8 kB / 22.25 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.797 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.357/3.357, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002145/0.002145, allocations: 71.08 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3603, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002733/0.363, allocations: 1.305 MB / 1.326 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3643, allocations: 0.6037 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.3643, allocations: 0 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.3644, allocations: 0 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.3644, allocations: 11.92 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.3651, allocations: 107.5 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.3652, allocations: 31.86 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.3652, allocations: 0 / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.3652, allocations: 8 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.3653, allocations: 15.97 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3653, allocations: 3.938 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.3657, allocations: 135.8 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.3658, allocations: 11.98 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.3658, allocations: 7.984 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.3661, allocations: 92 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.3661, allocations: 3.984 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3661, allocations: 0 / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3661, allocations: 4 kB / 1.327 GB, free: 12 kB / 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.0006819/0.3668, allocations: 282.1 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3668, allocations: 12.03 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.3669, allocations: 30.75 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.3674, allocations: 32.89 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3675, allocations: 106.5 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3675, allocations: 4.375 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.3675, allocations: 4.375 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3678, allocations: 83.86 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3678, allocations: 7.875 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3678, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3678, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3679, allocations: 31.97 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.3682, allocations: 136.7 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.3685, allocations: 66.52 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.3686, allocations: 24.94 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3686, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3687, allocations: 34.56 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3687, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.003514/0.3722, allocations: 0.5201 MB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3722, allocations: 51.41 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.3723, allocations: 93.86 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3723, allocations: 25.7 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.3724, allocations: 80.14 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.3724, allocations: 27.91 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.3725, allocations: 25.7 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3727, allocations: 322.8 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3728, allocations: 31.97 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.373, allocations: 39.91 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.3733, allocations: 88.8 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3733, allocations: 0 / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003847/0.3737, allocations: 121.6 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3737, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3737, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3737, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.3739, allocations: 23.97 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3739, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3741, allocations: 11.94 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3741, allocations: 7.984 kB / 1.33 GB, free: 13.48 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.0001152/0.3742, allocations: 106.4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3743, allocations: 7.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.3743, allocations: 12.06 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3743, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.3743, allocations: 3.984 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3743, allocations: 7.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3745, allocations: 146.8 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3745, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.3748, allocations: 27.91 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3748, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3748, allocations: 11.92 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3748, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3748, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.3754, allocations: 189.1 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.3754, allocations: 7.969 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.3755, allocations: 7.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3757, allocations: 12 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.3757, allocations: 3.984 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.3757, allocations: 4 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.3758, allocations: 79.27 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3758, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000299/0.3761, allocations: 36.09 kB / 1.33 GB, free: 12.74 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.001222/0.3773, allocations: 0.7566 MB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.3777, allocations: 87.98 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3777, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3779, allocations: 43.91 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3782, allocations: 16.31 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3805, allocations: 1.358 MB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.3806, allocations: 63.34 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000178/0.3808, allocations: 35.92 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3809, allocations: 19.42 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3809, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.414, allocations: 3.057 MB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 14 kB / 1.336 GB, free: 7.359 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.633588877972215] Failed to read output from testmodel.py, exit status != 0: 11.803595760837197 11.831044968 11.459636869 Calling exit ...