Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.002534/0.002534, allocations: 290.3 kB / 303 MB, free: 9.508 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.198/1.198, allocations: 180.9 MB / 0.5261 GB, free: 14.64 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 101.1 kB / 0.7248 GB, free: 39.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1793, allocations: 94.16 MB / 0.8167 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00354/0.1828, allocations: 1.674 MB / 0.8183 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1838, allocations: 404.5 kB / 0.8187 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.184, allocations: 4 kB / 0.8187 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1841, allocations: 11.86 kB / 0.8187 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.1842, allocations: 23.78 kB / 0.8188 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.1847, allocations: 121.6 kB / 0.8189 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1849, allocations: 107.6 kB / 0.819 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1851, allocations: 27.97 kB / 0.819 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.1852, allocations: 47.84 kB / 0.8191 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.1853, allocations: 39.83 kB / 0.8191 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1853, allocations: 11.94 kB / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1854, allocations: 59.95 kB / 0.8192 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.1855, allocations: 19.98 kB / 0.8192 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.1855, allocations: 51.72 kB / 0.8192 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1858, allocations: 127.7 kB / 0.8194 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1858, allocations: 3.984 kB / 0.8194 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1858, allocations: 0 / 0.8194 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1858, allocations: 0 / 0.8194 GB, free: 2.707 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007019/0.1865, allocations: 423 kB / 0.8198 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1866, allocations: 8.031 kB / 0.8198 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.1866, allocations: 42.73 kB / 0.8198 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.1869, allocations: 32.81 kB / 0.8198 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.1872, allocations: 200.2 kB / 0.82 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.1873, allocations: 46.17 kB / 0.8201 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1873, allocations: 8.375 kB / 0.8201 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1876, allocations: 108.1 kB / 0.8202 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1876, allocations: 0 / 0.8202 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1876, allocations: 0 / 0.8202 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1876, allocations: 4 kB / 0.8202 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.1878, allocations: 79.94 kB / 0.8203 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007476/0.1886, allocations: 380.5 kB / 0.8206 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.1891, allocations: 130.6 kB / 0.8208 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1892, allocations: 40.94 kB / 0.8208 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1892, allocations: 4 kB / 0.8208 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1893, allocations: 38.55 kB / 0.8208 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1893, allocations: 0 / 0.8208 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/0.1897, allocations: 137.6 kB / 0.821 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1897, allocations: 59.34 kB / 0.821 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1899, allocations: 143.7 kB / 0.8212 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1899, allocations: 25.7 kB / 0.8212 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.19, allocations: 104 kB / 0.8213 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.19, allocations: 19.86 kB / 0.8213 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.19, allocations: 21.7 kB / 0.8213 GB, free: 484 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1902, allocations: 318.8 kB / 0.8216 GB, free: 156 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1903, allocations: 35.97 kB / 0.8217 GB, free: 120 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1904, allocations: 41.69 kB / 0.8217 GB, free: 72 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1906, allocations: 77.67 kB / 0.8218 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1906, allocations: 0 / 0.8218 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002537/0.1909, allocations: 117.5 kB / 0.8219 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1909, allocations: 8 kB / 0.8219 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1909, allocations: 0 / 0.8219 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1909, allocations: 3.938 kB / 0.8219 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.191, allocations: 19.98 kB / 0.8219 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1911, allocations: 0 / 0.8219 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.1911, allocations: 11.89 kB / 0.8219 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1911, allocations: 7.984 kB / 0.8219 GB, free: 15.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001012/0.1912, allocations: 121.8 kB / 0.8221 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1913, allocations: 7.953 kB / 0.8221 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.1913, allocations: 16.7 kB / 0.8221 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1913, allocations: 3.938 kB / 0.8221 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1913, allocations: 4 kB / 0.8221 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1913, allocations: 0 / 0.8221 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1916, allocations: 193.6 kB / 0.8223 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1916, allocations: 0 / 0.8223 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.1917, allocations: 15.98 kB / 0.8223 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1917, allocations: 8 kB / 0.8223 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1917, allocations: 4 kB / 0.8223 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1917, allocations: 11.81 kB / 0.8223 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1917, allocations: 0 / 0.8223 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.192, allocations: 211.3 kB / 0.8225 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.192, allocations: 89.05 kB / 0.8226 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1921, allocations: 0 / 0.8226 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1922, allocations: 19.92 kB / 0.8226 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1922, allocations: 4 kB / 0.8226 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1923, allocations: 7.984 kB / 0.8226 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.1923, allocations: 103.3 kB / 0.8227 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1923, allocations: 0 / 0.8227 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002347/0.1926, allocations: 19.94 kB / 0.8227 GB, free: 14.89 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 (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 Backend phase and start with SimCode phase: time 0.0006313/0.1932, allocations: 0.7403 MB / 0.8235 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1935, allocations: 67.94 kB / 0.8235 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1935, allocations: 4 kB / 0.8235 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1936, allocations: 36.2 kB / 0.8236 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1939, allocations: 36.06 kB / 0.8236 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.1959, allocations: 1.545 MB / 0.8251 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1963, allocations: 0.7 MB / 0.8258 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.1963, allocations: 8.672 kB / 0.8258 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.1964, allocations: 31.42 kB / 0.8258 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.1964, allocations: 0 / 0.8258 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.2202, allocations: 2.763 MB / 0.8285 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.218, allocations: 4.438 kB / 0.8285 GB, free: 8.984 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.289631454274058] Failed to read output from testmodel.py, exit status != 0: 8.284936466254294 8.306627376 8.116149172 Calling exit ...