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.001839/0.001839, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001494/0.001494, allocations: 213.1 kB / 22.25 MB, free: 4.859 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.785 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.002567/0.002567, allocations: 296.8 kB / 312.7 MB, free: 2.586 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.279/1.279, allocations: 180.6 MB / 0.5369 GB, free: 14.59 MB / 382.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",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.002946/0.002946, allocations: 98.31 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1987, allocations: 95.39 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002694/0.2014, allocations: 1.306 MB / 0.8339 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2025, allocations: 0.5984 MB / 0.8345 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.2026, allocations: 0 / 0.8345 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.2026, allocations: 3.938 kB / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.2026, allocations: 3.938 kB / 0.8345 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2031, allocations: 119.5 kB / 0.8347 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.2032, allocations: 23.88 kB / 0.8347 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.2032, allocations: 3.984 kB / 0.8347 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.2032, allocations: 12 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.2033, allocations: 11.92 kB / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2033, allocations: 0 / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.2036, allocations: 131.8 kB / 0.8348 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.2036, allocations: 4 kB / 0.8348 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.2037, allocations: 23.91 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.2039, allocations: 88.06 kB / 0.8349 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2039, allocations: 0 / 0.8349 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2039, allocations: 4 kB / 0.8349 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.2039, allocations: 3.938 kB / 0.8349 GB, free: 5.934 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.0004994/0.2044, allocations: 286.1 kB / 0.8352 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2044, allocations: 13.94 kB / 0.8352 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.2045, allocations: 34.75 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.2049, allocations: 24.91 kB / 0.8353 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.205, allocations: 118.5 kB / 0.8354 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.205, allocations: 384 / 0.8354 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.2051, allocations: 4.375 kB / 0.8354 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.2053, allocations: 83.92 kB / 0.8355 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.2053, allocations: 7.875 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2053, allocations: 0 / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2053, allocations: 0 / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2054, allocations: 35.91 kB / 0.8355 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.2056, allocations: 132.7 kB / 0.8357 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.206, allocations: 62.53 kB / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2061, allocations: 24.94 kB / 0.8357 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2061, allocations: 0 / 0.8357 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2061, allocations: 38.56 kB / 0.8358 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2061, allocations: 4 kB / 0.8358 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.003378/0.2095, allocations: 0.5045 MB / 0.8363 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2095, allocations: 51.41 kB / 0.8363 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.2096, allocations: 93.86 kB / 0.8364 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2096, allocations: 29.7 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.2097, allocations: 80.27 kB / 0.8365 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2097, allocations: 27.78 kB / 0.8365 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.2098, allocations: 21.7 kB / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.21, allocations: 318.8 kB / 0.8369 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2101, allocations: 35.95 kB / 0.8369 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.2102, allocations: 39.97 kB / 0.8369 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2105, allocations: 84.81 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2105, allocations: 0 / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003633/0.2109, allocations: 133.4 kB / 0.8371 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2109, allocations: 4 kB / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2109, allocations: 4 kB / 0.8372 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2109, allocations: 3.938 kB / 0.8372 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.2111, allocations: 23.97 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2111, allocations: 0 / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2113, allocations: 8.391 kB / 0.8372 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2113, allocations: 7.984 kB / 0.8372 GB, free: 3.398 MB / 0.5762 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 9.507e-05/0.2114, allocations: 113.8 kB / 0.8373 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2114, allocations: 7.938 kB / 0.8373 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.2115, allocations: 16.05 kB / 0.8373 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2115, allocations: 0 / 0.8373 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2115, allocations: 0 / 0.8373 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2115, allocations: 3.984 kB / 0.8373 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.2117, allocations: 150.6 kB / 0.8375 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2117, allocations: 4 kB / 0.8375 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2119, allocations: 31.84 kB / 0.8375 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2119, allocations: 0 / 0.8375 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2119, allocations: 7.984 kB / 0.8375 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2119, allocations: 0 / 0.8375 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2119, allocations: 0 / 0.8375 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.2125, allocations: 185 kB / 0.8377 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.2125, allocations: 15.92 kB / 0.8377 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2125, allocations: 0 / 0.8377 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2127, allocations: 11.98 kB / 0.8377 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.2127, allocations: 3.984 kB / 0.8377 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2127, allocations: 4 kB / 0.8377 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.2128, allocations: 79.33 kB / 0.8378 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2128, allocations: 4.094 kB / 0.8378 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002531/0.213, allocations: 31.94 kB / 0.8378 GB, free: 2.664 MB / 0.5762 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.0009439/0.214, allocations: 0.7608 MB / 0.8386 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.2143, allocations: 87.86 kB / 0.8387 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.2143, allocations: 0 / 0.8387 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2145, allocations: 47.95 kB / 0.8387 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.2147, allocations: 16.23 kB / 0.8387 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.2169, allocations: 1.345 MB / 0.84 GB, free: 308 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.2169, allocations: 67.34 kB / 0.8401 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.2171, allocations: 31.98 kB / 0.8401 GB, free: 188 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.2172, allocations: 19.42 kB / 0.8402 GB, free: 172 kB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.2172, allocations: 3.938 kB / 0.8402 GB, free: 168 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.2507, allocations: 3.072 MB / 0.8432 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 6.656 kB / 0.8432 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 15.498237046878785] Failed to read output from testmodel.py, exit status != 0: 11.388557044789195 11.412828623 11.203687473 Calling exit ...