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.0008311/0.0008311, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008105/0.0008105, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8864/0.8864, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.799/1.799, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.754e-05, allocations: 2.281 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001671/0.001688, allocations: 1.312 MB / 0.9823 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.002452, allocations: 0.5996 MB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.002474, allocations: 0 / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.002492, allocations: 3.938 kB / 0.9829 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.002533, allocations: 3.984 kB / 0.9829 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.002938, allocations: 111.4 kB / 0.983 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.002994, allocations: 27.84 kB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.003031, allocations: 4 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.003064, allocations: 15.98 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.003118, allocations: 4 kB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.00313, allocations: 0 / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.003321, allocations: 147.7 kB / 0.9832 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.003337, allocations: 7.984 kB / 0.9832 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.003356, allocations: 4 kB / 0.9832 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.003538, allocations: 119.6 kB / 0.9833 GB, free: 240 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00354, allocations: 0 / 0.9833 GB, free: 240 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003541, allocations: 0 / 0.9833 GB, free: 240 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.003545, allocations: 0 / 0.9833 GB, free: 240 kB / 0.9323 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.0003862/0.003931, allocations: 282.1 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.003972, allocations: 12.03 kB / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.004001, allocations: 34.75 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.004263, allocations: 28.89 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.004344, allocations: 113.7 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.004354, allocations: 384 / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.004382, allocations: 4.375 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.004532, allocations: 87.92 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004539, allocations: 192 / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.004549, allocations: 384 / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004555, allocations: 8.062 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.004637, allocations: 27.97 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.00478, allocations: 124.8 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.005004, allocations: 74.52 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.005055, allocations: 24.94 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.005074, allocations: 3.938 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.005093, allocations: 38.56 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005094, allocations: 0 / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.001751/0.006845, allocations: 0.5085 MB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.006874, allocations: 55.34 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/0.006923, allocations: 93.86 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.006938, allocations: 25.7 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.006966, allocations: 88.14 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.006999, allocations: 23.78 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.007045, allocations: 21.7 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.007133, allocations: 322.8 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.007213, allocations: 36.09 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.007285, allocations: 35.97 kB / 0.9853 GB, free: 13.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.007451, allocations: 80.81 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.007451, allocations: 8 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000201/0.007652, allocations: 117.6 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.007665, allocations: 11.94 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007669, allocations: 0 / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.007682, allocations: 3.938 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.007784, allocations: 27.97 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.007788, allocations: 4 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.007847, allocations: 4 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.007857, allocations: 3.984 kB / 0.9855 GB, free: 13.7 MB / 0.948 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 6.227e-05/0.00792, allocations: 113.8 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.007933, allocations: 4.328 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.007977, allocations: 12.12 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.007983, allocations: 15.84 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.007986, allocations: 0 / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.007989, allocations: 0 / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.008095, allocations: 158.9 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.008096, allocations: 0 / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.756e-05/0.008193, allocations: 23.97 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008195, allocations: 0 / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.008206, allocations: 7.984 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008208, allocations: 11.88 kB / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008209, allocations: 240 / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.00854, allocations: 181.2 kB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.008548, allocations: 7.984 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.008567, allocations: 12.05 kB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.008646, allocations: 15.94 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.008659, allocations: 3.984 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.00867, allocations: 7.984 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.008694, allocations: 75.28 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.008694, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001743/0.008868, allocations: 35.88 kB / 0.9862 GB, free: 12.96 MB / 0.948 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.0005584/0.009426, allocations: 0.7491 MB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.009629, allocations: 91.97 kB / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009631, allocations: 0 / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.00971, allocations: 43.91 kB / 0.987 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.009878, allocations: 18.56 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.01112, allocations: 1.344 MB / 0.9884 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.649e-05/0.01115, allocations: 63.34 kB / 0.9884 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.01127, allocations: 31.97 kB / 0.9885 GB, free: 10.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.01133, allocations: 20.48 kB / 0.9885 GB, free: 10.47 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.01133, allocations: 0 / 0.9885 GB, free: 10.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.02919, allocations: 3.211 MB / 0.9916 GB, free: 7.492 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.889/6.919, allocations: 6.422 kB / 0.9916 GB, free: 7.488 MB / 0.948 GB " [Timeout remaining time 293] (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: 10.95038858242333] Failed to read output from testmodel.py, exit status != 0: 7.003735510632396 7.017963684 7.011622212 Calling exit ...