Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001668/0.001668, 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.002132/0.002132, allocations: 214.2 kB / 22.25 MB, free: 4.855 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.797 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.002649/0.002649, allocations: 292.6 kB / 312.7 MB, free: 2.613 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.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.00296/0.00296, allocations: 107.5 kB / 0.7395 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1855, allocations: 95.38 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002537/0.188, allocations: 1.292 MB / 0.8339 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006345/0.1886, allocations: 267.6 kB / 0.8342 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.1887, allocations: 4 kB / 0.8342 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.1887, allocations: 0 / 0.8342 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.1887, allocations: 7.922 kB / 0.8342 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.189, allocations: 51.77 kB / 0.8342 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.1891, allocations: 19.91 kB / 0.8342 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.1891, allocations: 0 / 0.8342 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.1892, allocations: 7.938 kB / 0.8342 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.1892, allocations: 15.92 kB / 0.8343 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1892, allocations: 4 kB / 0.8343 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1894, allocations: 51.95 kB / 0.8343 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1894, allocations: 0 / 0.8343 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.1894, allocations: 4 kB / 0.8343 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1896, allocations: 56.05 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1896, allocations: 0 / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1896, allocations: 0 / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.1896, allocations: 3.938 kB / 0.8344 GB, free: 6.527 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.0004687/0.19, allocations: 262.3 kB / 0.8346 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1901, allocations: 13.34 kB / 0.8346 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.1901, allocations: 30.75 kB / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1903, allocations: 20.92 kB / 0.8347 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1905, allocations: 102.5 kB / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1905, allocations: 384 / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1905, allocations: 8.375 kB / 0.8348 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1906, allocations: 75.92 kB / 0.8349 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1906, allocations: 3.938 kB / 0.8349 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/0.1907, allocations: 0 / 0.8349 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1907, allocations: 0 / 0.8349 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.1907, allocations: 15.94 kB / 0.8349 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.1909, allocations: 132.8 kB / 0.835 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.1927, allocations: 266.3 kB / 0.8353 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.1928, allocations: 16.86 kB / 0.8353 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.1928, allocations: 0 / 0.8353 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1928, allocations: 34.56 kB / 0.8353 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1928, allocations: 0 / 0.8353 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.000188/0.193, allocations: 77.5 kB / 0.8354 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.193, allocations: 55.41 kB / 0.8354 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.1931, allocations: 89.86 kB / 0.8355 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1931, allocations: 25.7 kB / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1932, allocations: 80.14 kB / 0.8356 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1932, allocations: 15.91 kB / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1932, allocations: 13.72 kB / 0.8357 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1934, allocations: 318.8 kB / 0.836 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.1934, allocations: 8.125 kB / 0.836 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.1934, allocations: 8 kB / 0.836 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.1935, allocations: 24.86 kB / 0.836 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1935, allocations: 0 / 0.836 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.259e-05/0.1936, allocations: 57.62 kB / 0.8361 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1936, allocations: 11.88 kB / 0.8361 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1936, allocations: 0 / 0.8361 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1936, allocations: 0 / 0.8361 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.1936, allocations: 11.98 kB / 0.8361 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1937, allocations: 0 / 0.8361 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.1937, allocations: 4 kB / 0.8361 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1937, allocations: 8 kB / 0.8361 GB, free: 4.57 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 (4): * Single equations (assignments): 4 * 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.355e-05/0.1938, allocations: 110.5 kB / 0.8362 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.1938, allocations: 3.938 kB / 0.8362 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.1938, allocations: 7.531 kB / 0.8362 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1938, allocations: 4 kB / 0.8362 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1938, allocations: 0 / 0.8362 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.1938, allocations: 336 / 0.8362 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.194, allocations: 132.7 kB / 0.8363 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.194, allocations: 0 / 0.8363 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.194, allocations: 11.94 kB / 0.8364 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.194, allocations: 15.86 kB / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.194, allocations: 0 / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.194, allocations: 0 / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.194, allocations: 0 / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1942, allocations: 89.06 kB / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1942, allocations: 0 / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1942, allocations: 3.938 kB / 0.8365 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.1943, allocations: 4 kB / 0.8365 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.1943, allocations: 0 / 0.8365 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1943, allocations: 7.984 kB / 0.8365 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.1944, allocations: 83.28 kB / 0.8365 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1944, allocations: 0 / 0.8365 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001933/0.1946, allocations: 4 kB / 0.8365 GB, free: 4.023 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 (4): * Single equations (assignments): 4 * 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.0005182/0.1951, allocations: 0.6124 MB / 0.8371 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1952, allocations: 23.98 kB / 0.8372 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1952, allocations: 0 / 0.8372 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.1952, allocations: 15.94 kB / 0.8372 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1955, allocations: 14.17 kB / 0.8372 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.1961, allocations: 150.4 kB / 0.8373 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.823e-05/0.1961, allocations: 59.36 kB / 0.8374 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.1962, allocations: 11.92 kB / 0.8374 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/0.1962, allocations: 11.44 kB / 0.8374 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.1962, allocations: 0 / 0.8374 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.223, allocations: 1.879 MB / 0.8393 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 9.812 kB / 0.8393 GB, free: 1.301 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.43514551082626] Failed to read output from testmodel.py, exit status != 0: 11.325299615040421 11.343174835 11.150092549 Calling exit ...