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.001342/0.001342, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001497/0.001497, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.957 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.002487/0.002487, allocations: 291.1 kB / 312.7 MB, free: 2.766 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.251/1.251, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.002912/0.002912, allocations: 103.2 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1859, allocations: 95.37 MB / 0.8328 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002437/0.1883, allocations: 1.321 MB / 0.834 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1895, allocations: 0.6451 MB / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.1895, allocations: 0 / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.1895, allocations: 7.938 kB / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.1895, allocations: 7.922 kB / 0.8347 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.19, allocations: 103.6 kB / 0.8348 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.19, allocations: 31.84 kB / 0.8348 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.1901, allocations: 4 kB / 0.8348 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.1901, allocations: 11.92 kB / 0.8348 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.1902, allocations: 12 kB / 0.8348 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1902, allocations: 0 / 0.8348 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.1905, allocations: 147.8 kB / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.1905, allocations: 7.922 kB / 0.835 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1905, allocations: 12 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1907, allocations: 109.4 kB / 0.8351 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1907, allocations: 0 / 0.8351 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1907, allocations: 0 / 0.8351 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.1907, allocations: 0 / 0.8351 GB, free: 6.164 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.0004684/0.1912, allocations: 282.1 kB / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1912, allocations: 9.344 kB / 0.8354 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.1913, allocations: 42.75 kB / 0.8354 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/0.1917, allocations: 28.89 kB / 0.8355 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1918, allocations: 110.5 kB / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1918, allocations: 384 / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1918, allocations: 384 / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.192, allocations: 66.2 kB / 0.8356 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.192, allocations: 7.875 kB / 0.8356 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.192, allocations: 4 kB / 0.8356 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.192, allocations: 0 / 0.8356 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1922, allocations: 27.91 kB / 0.8357 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1923, allocations: 136.7 kB / 0.8358 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.1927, allocations: 70.56 kB / 0.8359 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1928, allocations: 24.94 kB / 0.8359 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1928, allocations: 0 / 0.8359 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1928, allocations: 34.56 kB / 0.8359 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1928, allocations: 4 kB / 0.8359 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.003423/0.1962, allocations: 0.5045 MB / 0.8364 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1963, allocations: 51.41 kB / 0.8365 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.1963, allocations: 93.86 kB / 0.8366 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1964, allocations: 33.83 kB / 0.8366 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.1964, allocations: 80.14 kB / 0.8367 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.1965, allocations: 23.78 kB / 0.8367 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.1965, allocations: 21.7 kB / 0.8367 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1967, allocations: 322.8 kB / 0.837 GB, free: 4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1968, allocations: 31.97 kB / 0.837 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1969, allocations: 43.97 kB / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1972, allocations: 84.95 kB / 0.8372 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1972, allocations: 0 / 0.8372 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003616/0.1976, allocations: 141.5 kB / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1976, allocations: 4 kB / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1976, allocations: 0 / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1976, allocations: 0 / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1978, allocations: 23.97 kB / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1978, allocations: 0 / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.198, allocations: 8 kB / 0.8373 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.198, allocations: 7.984 kB / 0.8373 GB, free: 3.652 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 8.968e-05/0.1981, allocations: 109.8 kB / 0.8374 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1981, allocations: 7.938 kB / 0.8375 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.1982, allocations: 19.98 kB / 0.8375 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1982, allocations: 0 / 0.8375 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1982, allocations: 0 / 0.8375 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1982, allocations: 7.875 kB / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.1984, allocations: 162.6 kB / 0.8376 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1984, allocations: 0 / 0.8376 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.1986, allocations: 27.91 kB / 0.8377 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1986, allocations: 0 / 0.8377 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1986, allocations: 4 kB / 0.8377 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1986, allocations: 4 kB / 0.8377 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1986, allocations: 4 kB / 0.8377 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.1991, allocations: 185 kB / 0.8379 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.1992, allocations: 11.95 kB / 0.8379 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1992, allocations: 4.031 kB / 0.8379 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.1994, allocations: 7.984 kB / 0.8379 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1994, allocations: 4 kB / 0.8379 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1994, allocations: 7.922 kB / 0.8379 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.1994, allocations: 83.28 kB / 0.838 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1994, allocations: 0 / 0.838 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002401/0.1997, allocations: 28.03 kB / 0.838 GB, free: 2.91 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.0009378/0.2006, allocations: 0.7607 MB / 0.8387 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.201, allocations: 83.86 kB / 0.8388 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.201, allocations: 0 / 0.8388 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.2011, allocations: 52.02 kB / 0.8389 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2014, allocations: 4 kB / 0.8389 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.2034, allocations: 1.358 MB / 0.8402 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2037, allocations: 0.6806 MB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.2038, allocations: 24.42 kB / 0.8409 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.2039, allocations: 23.34 kB / 0.8409 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.2039, allocations: 0 / 0.8409 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.2347, allocations: 2.617 MB / 0.8435 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.91, allocations: 11.86 kB / 0.8435 GB, free: 13.36 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 15.261188984997716] Failed to read output from testmodel.py, exit status != 0: 11.012173643001006 11.03821364 10.842309543 Calling exit ...