Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001281/0.001281, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001475/0.001475, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002695/0.002695, allocations: 286.5 kB / 309.8 MB, free: 3.441 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.089/1.089, allocations: 180.6 MB / 0.5337 GB, free: 12.44 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002818/0.002818, allocations: 107.8 kB / 0.7347 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.496, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002053/0.4981, allocations: 1.313 MB / 0.8291 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.4989, allocations: 0.6561 MB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.4989, allocations: 0 / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.4989, allocations: 0.6562 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.499, allocations: 4.688 kB / 0.8297 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.4994, allocations: 105.2 kB / 0.8298 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.4994, allocations: 27.3 kB / 0.8299 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.4995, allocations: 4.906 kB / 0.8299 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.4995, allocations: 14.69 kB / 0.8299 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.4995, allocations: 15.52 kB / 0.8299 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.4995, allocations: 0 / 0.8299 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.4998, allocations: 146.6 kB / 0.83 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.4998, allocations: 9.375 kB / 0.83 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.4998, allocations: 9.688 kB / 0.83 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.5, allocations: 103.2 kB / 0.8301 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5, allocations: 0.75 kB / 0.8301 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5, allocations: 0 / 0.8301 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.5, allocations: 0 / 0.8301 GB, free: 1.527 MB / 0.5762 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.0003665/0.5004, allocations: 360.3 kB / 0.8305 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.5004, allocations: 8.094 kB / 0.8305 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.5004, allocations: 192 / 0.8305 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.639e-05/0.5004, allocations: 34.05 kB / 0.8305 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.5009, allocations: 30.11 kB / 0.8306 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.479e-05/0.5009, allocations: 173.8 kB / 0.8307 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.5009, allocations: 1.594 kB / 0.8307 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.501, allocations: 1.531 kB / 0.8307 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.5011, allocations: 62.75 kB / 0.8308 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5012, allocations: 3.938 kB / 0.8308 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5012, allocations: 2.25 kB / 0.8308 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.5012, allocations: 0 / 0.8308 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.5013, allocations: 36.17 kB / 0.8308 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.5014, allocations: 162.9 kB / 0.831 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.5017, allocations: 67.41 kB / 0.831 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.5018, allocations: 31.59 kB / 0.8311 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.5019, allocations: 5.5 kB / 0.8311 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.5019, allocations: 36.2 kB / 0.8311 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5019, allocations: 0 / 0.8311 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.003428/0.5053, allocations: 0.573 MB / 0.8317 GB, free: 220 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.5053, allocations: 51.41 kB / 0.8317 GB, free: 156 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.063e-05/0.5054, allocations: 98.95 kB / 0.8318 GB, free: 52 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5054, allocations: 25.7 kB / 0.8318 GB, free: 20 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.5054, allocations: 82.88 kB / 0.8319 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.5055, allocations: 19.34 kB / 0.8319 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.5055, allocations: 26.31 kB / 0.832 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5057, allocations: 318.5 kB / 0.8323 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5058, allocations: 40.81 kB / 0.8323 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.506, allocations: 34.84 kB / 0.8323 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.5063, allocations: 90.94 kB / 0.8324 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5063, allocations: 0 / 0.8324 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003786/0.5067, allocations: 126.7 kB / 0.8325 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5067, allocations: 6.469 kB / 0.8326 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5067, allocations: 4.656 kB / 0.8326 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5067, allocations: 0 / 0.8326 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.5069, allocations: 25.14 kB / 0.8326 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.5069, allocations: 1.719 kB / 0.8326 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.5071, allocations: 5.906 kB / 0.8326 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.5071, allocations: 4.922 kB / 0.8326 GB, free: 15.45 MB / 0.5919 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.0001007/0.5072, allocations: 120.8 kB / 0.8327 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.5072, allocations: 6.562 kB / 0.8327 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.5073, allocations: 21.02 kB / 0.8327 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5073, allocations: 2.625 kB / 0.8327 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5073, allocations: 0 / 0.8327 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5073, allocations: 4.641 kB / 0.8327 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.5075, allocations: 182.9 kB / 0.8329 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5075, allocations: 3.938 kB / 0.8329 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.5077, allocations: 25.47 kB / 0.8329 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5077, allocations: 2.625 kB / 0.8329 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.5077, allocations: 2.531 kB / 0.8329 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5078, allocations: 0.5625 kB / 0.833 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5078, allocations: 0 / 0.833 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.5083, allocations: 196.5 kB / 0.8331 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.5084, allocations: 88.38 kB / 0.8332 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.5084, allocations: 0 / 0.8332 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5086, allocations: 14.83 kB / 0.8332 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.5086, allocations: 4.359 kB / 0.8332 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.5086, allocations: 9.359 kB / 0.8332 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.5087, allocations: 76.55 kB / 0.8333 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5087, allocations: 0 / 0.8333 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000262/0.5089, allocations: 31.34 kB / 0.8334 GB, free: 14.78 MB / 0.5919 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.0009363/0.5099, allocations: 0.7524 MB / 0.8341 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.5102, allocations: 95 kB / 0.8342 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5102, allocations: 0 / 0.8342 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.5104, allocations: 43.7 kB / 0.8342 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.5106, allocations: 7.969 kB / 0.8342 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.5128, allocations: 1.36 MB / 0.8356 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5131, allocations: 0.6796 MB / 0.8362 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.5132, allocations: 30.56 kB / 0.8362 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.5133, allocations: 23.14 kB / 0.8363 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.5133, allocations: 0 / 0.8363 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.5332, allocations: 2.566 MB / 0.8388 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/8.929, allocations: 11.39 kB / 0.8388 GB, free: 11.77 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.019160234020092] Failed to read output from testmodel.py, exit status != 0: 9.053870306990575 9.071678174 8.568611085 Calling exit ...