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.001312/0.001312, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001452/0.001452, allocations: 212 kB / 19.43 MB, free: 3.637 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.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 285.2 kB / 309.1 MB, free: 4.035 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.28/1.28, allocations: 180.9 MB / 0.5333 GB, free: 13.71 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002862/0.002862, allocations: 108.1 kB / 0.7343 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2038, allocations: 95.34 MB / 0.8274 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002693/0.2065, allocations: 1.313 MB / 0.8287 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2078, allocations: 0.6454 MB / 0.8293 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.2079, allocations: 4 kB / 0.8293 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.2079, allocations: 3.938 kB / 0.8293 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.2079, allocations: 0 / 0.8293 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.2084, allocations: 111.5 kB / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.2085, allocations: 27.86 kB / 0.8294 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.2085, allocations: 4 kB / 0.8294 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.343e-05/0.2085, allocations: 7.984 kB / 0.8294 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.2086, allocations: 11.98 kB / 0.8294 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2086, allocations: 3.938 kB / 0.8295 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.2089, allocations: 155.7 kB / 0.8296 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.2089, allocations: 3.984 kB / 0.8296 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.209, allocations: 8 kB / 0.8296 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.2092, allocations: 108 kB / 0.8297 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2092, allocations: 0 / 0.8297 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2092, allocations: 0 / 0.8297 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2092, allocations: 0 / 0.8297 GB, free: 7.418 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.0005646/0.2098, allocations: 351.2 kB / 0.8301 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2098, allocations: 19.97 kB / 0.8301 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.2098, allocations: 38.67 kB / 0.8301 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004749/0.2103, allocations: 36.84 kB / 0.8301 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.2105, allocations: 164.4 kB / 0.8303 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2105, allocations: 4.359 kB / 0.8303 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.2106, allocations: 4.375 kB / 0.8303 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2108, allocations: 58.22 kB / 0.8304 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2108, allocations: 3.938 kB / 0.8304 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2108, allocations: 0 / 0.8304 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2108, allocations: 0 / 0.8304 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.2109, allocations: 31.97 kB / 0.8304 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.2112, allocations: 165.5 kB / 0.8306 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.2115, allocations: 66.58 kB / 0.8306 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.2116, allocations: 28.94 kB / 0.8306 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2116, allocations: 0 / 0.8306 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2116, allocations: 34.55 kB / 0.8307 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2116, allocations: 4 kB / 0.8307 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.003829/0.2155, allocations: 0.5721 MB / 0.8312 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2155, allocations: 51.41 kB / 0.8313 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.2156, allocations: 105.8 kB / 0.8314 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.2156, allocations: 25.7 kB / 0.8314 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.2157, allocations: 80.14 kB / 0.8315 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.2157, allocations: 27.78 kB / 0.8315 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.2158, allocations: 25.69 kB / 0.8315 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.216, allocations: 314.8 kB / 0.8318 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2161, allocations: 35.97 kB / 0.8319 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.2163, allocations: 40.09 kB / 0.8319 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.2166, allocations: 80.81 kB / 0.832 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2166, allocations: 0 / 0.832 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003988/0.217, allocations: 133.5 kB / 0.8321 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.217, allocations: 4 kB / 0.8321 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.217, allocations: 0 / 0.8321 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.217, allocations: 64 / 0.8321 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2172, allocations: 27.97 kB / 0.8322 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2172, allocations: 0 / 0.8322 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.2174, allocations: 11.98 kB / 0.8322 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2174, allocations: 11.94 kB / 0.8322 GB, free: 4.617 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 0.0001035/0.2175, allocations: 109.8 kB / 0.8323 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.2175, allocations: 7.938 kB / 0.8323 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.466e-05/0.2176, allocations: 16.23 kB / 0.8323 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2176, allocations: 0 / 0.8323 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2176, allocations: 0 / 0.8323 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2176, allocations: 3.984 kB / 0.8323 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.2178, allocations: 199.4 kB / 0.8325 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2178, allocations: 0 / 0.8325 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.2181, allocations: 31.84 kB / 0.8325 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2181, allocations: 0 / 0.8325 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.2181, allocations: 3.984 kB / 0.8325 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2181, allocations: 8 kB / 0.8325 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2181, allocations: 0 / 0.8325 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.2187, allocations: 189 kB / 0.8327 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2187, allocations: 85.11 kB / 0.8328 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.2188, allocations: 3.984 kB / 0.8328 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.219, allocations: 12.03 kB / 0.8328 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.219, allocations: 7.984 kB / 0.8328 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.219, allocations: 0 / 0.8328 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.219, allocations: 79.28 kB / 0.8329 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.219, allocations: 0 / 0.8329 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002545/0.2193, allocations: 36.02 kB / 0.8329 GB, free: 3.738 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.001072/0.2204, allocations: 0.7567 MB / 0.8337 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.2207, allocations: 80.06 kB / 0.8337 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2207, allocations: 3.938 kB / 0.8338 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.2209, allocations: 48.02 kB / 0.8338 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2212, allocations: 8.656 kB / 0.8338 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.2234, allocations: 1.352 MB / 0.8351 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2237, allocations: 0.682 MB / 0.8358 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.2239, allocations: 31.92 kB / 0.8358 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.224, allocations: 23.42 kB / 0.8358 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.224, allocations: 0 / 0.8358 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.2526, allocations: 2.529 MB / 0.8383 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.358, allocations: 3.984 kB / 0.8383 GB, free: 14.3 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.816821807995439] Failed to read output from testmodel.py, exit status != 0: 8.428538320120424 8.452994288 8.239287481 Calling exit ...