Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.001336/0.001336, allocations: 109.3 kB / 16.45 MB, free: 6.508 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.001561/0.001561, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.002573/0.002573, allocations: 284.6 kB / 309.1 MB, free: 4.109 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.276/1.276, allocations: 180.9 MB / 0.5333 GB, free: 13.8 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.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.002852/0.002852, allocations: 105.8 kB / 0.7342 GB, free: 36.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1833, allocations: 95.35 MB / 0.8273 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002672/0.186, allocations: 1.435 MB / 0.8287 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005901/0.1866, allocations: 291.5 kB / 0.829 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.1866, allocations: 4 kB / 0.829 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.1866, allocations: 7.922 kB / 0.829 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.1867, allocations: 3.938 kB / 0.829 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.187, allocations: 55.75 kB / 0.8291 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.1871, allocations: 19.92 kB / 0.8291 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.1872, allocations: 8 kB / 0.8291 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.1873, allocations: 11.97 kB / 0.8291 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.1873, allocations: 11.94 kB / 0.8291 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1873, allocations: 4 kB / 0.8291 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1875, allocations: 91.83 kB / 0.8292 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.1875, allocations: 8 kB / 0.8292 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.1876, allocations: 11.94 kB / 0.8292 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1877, allocations: 75.89 kB / 0.8293 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1877, allocations: 0 / 0.8293 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1877, allocations: 0 / 0.8293 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.1877, allocations: 0 / 0.8293 GB, free: 9.887 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005588/0.1883, allocations: 351.3 kB / 0.8297 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1884, allocations: 12.03 kB / 0.8297 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.1884, allocations: 34.75 kB / 0.8297 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.1884, allocations: 0.9375 kB / 0.8297 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1886, allocations: 164.4 kB / 0.8299 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1886, allocations: 384 / 0.8299 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1886, allocations: 384 / 0.8299 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1888, allocations: 59.83 kB / 0.8299 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1888, allocations: 3.938 kB / 0.8299 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1888, allocations: 0 / 0.8299 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1888, allocations: 0 / 0.8299 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.189, allocations: 39.95 kB / 0.83 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.1894, allocations: 245 kB / 0.8302 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1896, allocations: 42.48 kB / 0.8302 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.1897, allocations: 20.84 kB / 0.8302 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1897, allocations: 4 kB / 0.8303 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1897, allocations: 34.56 kB / 0.8303 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1897, allocations: 0 / 0.8303 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003981/0.1901, allocations: 81.59 kB / 0.8304 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1902, allocations: 59.34 kB / 0.8304 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1903, allocations: 106 kB / 0.8305 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1903, allocations: 25.7 kB / 0.8305 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.1904, allocations: 80.14 kB / 0.8306 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1904, allocations: 7.891 kB / 0.8306 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1904, allocations: 17.72 kB / 0.8306 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1906, allocations: 310.8 kB / 0.8309 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.1906, allocations: 27.91 kB / 0.831 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.1907, allocations: 15.98 kB / 0.831 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1909, allocations: 36.83 kB / 0.831 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.1909, allocations: 3.938 kB / 0.831 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002196/0.1911, allocations: 61.66 kB / 0.8311 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1911, allocations: 8 kB / 0.8311 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1911, allocations: 4.094 kB / 0.8311 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1911, allocations: 0 / 0.8311 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.1912, allocations: 7.984 kB / 0.8311 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1913, allocations: 4 kB / 0.8311 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1913, allocations: 7.938 kB / 0.8311 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1913, allocations: 11.92 kB / 0.8311 GB, free: 7.801 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 (2): * Single equations (assignments): 2 * 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.000101/0.1914, allocations: 113.1 kB / 0.8312 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1914, allocations: 0 / 0.8312 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.1917, allocations: 76.78 kB / 0.8313 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1917, allocations: 0 / 0.8313 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1917, allocations: 0 / 0.8313 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1917, allocations: 0 / 0.8313 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1919, allocations: 165.5 kB / 0.8315 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1919, allocations: 0 / 0.8315 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.1919, allocations: 8 kB / 0.8315 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.192, allocations: 4 kB / 0.8315 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.192, allocations: 0 / 0.8315 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.192, allocations: 4.031 kB / 0.8315 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.192, allocations: 3.984 kB / 0.8315 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1922, allocations: 163.4 kB / 0.8316 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1923, allocations: 85.09 kB / 0.8317 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1923, allocations: 0 / 0.8317 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.1923, allocations: 8.031 kB / 0.8317 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1924, allocations: 7.922 kB / 0.8317 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1924, allocations: 0 / 0.8317 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.1924, allocations: 83.45 kB / 0.8318 GB, free: 7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1924, allocations: 0 / 0.8318 GB, free: 7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002349/0.1927, allocations: 15.94 kB / 0.8318 GB, free: 6.984 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006208/0.1933, allocations: 0.718 MB / 0.8325 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1935, allocations: 31.97 kB / 0.8326 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1935, allocations: 0 / 0.8326 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.1936, allocations: 24.06 kB / 0.8326 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1939, allocations: 3.938 kB / 0.8326 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.1944, allocations: 148.2 kB / 0.8327 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1947, allocations: 0.6768 MB / 0.8334 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.1947, allocations: 3.938 kB / 0.8334 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1947, allocations: 7.438 kB / 0.8334 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.1947, allocations: 0 / 0.8334 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.2186, allocations: 1.498 MB / 0.8349 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.236, allocations: 9.562 kB / 0.8349 GB, free: 3.922 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.612031444907188] Failed to read output from testmodel.py, exit status != 0: 8.302631649188697 8.318344854 8.127561303 Calling exit ...