Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001325/0.001325, 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.001619/0.001619, allocations: 214.7 kB / 22.25 MB, free: 5.125 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 / 256 MB, free: 8 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.002677/0.002677, allocations: 286.2 kB / 312.7 MB, free: 2.82 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.274/1.274, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.002946/0.002946, allocations: 109.8 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1878, allocations: 95.39 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003273/0.1911, allocations: 1.533 MB / 0.8342 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004122/0.1915, allocations: 125.3 kB / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.1916, allocations: 4 kB / 0.8343 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.1916, allocations: 3.938 kB / 0.8343 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.1917, allocations: 7.875 kB / 0.8344 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.192, allocations: 71.88 kB / 0.8344 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1922, allocations: 55.84 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1923, allocations: 24.19 kB / 0.8345 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.1924, allocations: 35.86 kB / 0.8345 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.1925, allocations: 19.92 kB / 0.8346 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1925, allocations: 4 kB / 0.8346 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.1925, allocations: 8 kB / 0.8346 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.1925, allocations: 11.92 kB / 0.8346 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.1926, allocations: 27.91 kB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1927, allocations: 51.75 kB / 0.8346 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1927, allocations: 0 / 0.8346 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1927, allocations: 0 / 0.8346 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1927, allocations: 0 / 0.8346 GB, free: 6.656 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006137/0.1933, allocations: 298.2 kB / 0.8349 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1934, allocations: 13.34 kB / 0.8349 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.1934, allocations: 34.75 kB / 0.835 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.1935, allocations: 8.891 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1936, allocations: 126.4 kB / 0.8351 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/0.1937, allocations: 59.91 kB / 0.8352 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1937, allocations: 4.375 kB / 0.8352 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.194, allocations: 77.97 kB / 0.8352 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.194, allocations: 0 / 0.8352 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.194, allocations: 8 kB / 0.8353 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.194, allocations: 0 / 0.8353 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.1942, allocations: 39.95 kB / 0.8353 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.1948, allocations: 287.8 kB / 0.8356 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.195, allocations: 50.55 kB / 0.8356 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1951, allocations: 28.88 kB / 0.8356 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1951, allocations: 0 / 0.8356 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1951, allocations: 38.56 kB / 0.8357 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1951, allocations: 4 kB / 0.8357 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003898/0.1955, allocations: 105.5 kB / 0.8358 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1956, allocations: 51.41 kB / 0.8358 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1957, allocations: 105.8 kB / 0.8359 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1957, allocations: 25.7 kB / 0.836 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.1958, allocations: 92.09 kB / 0.836 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1958, allocations: 7.891 kB / 0.8361 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1959, allocations: 25.7 kB / 0.8361 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.196, allocations: 322.8 kB / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.1961, allocations: 19.98 kB / 0.8364 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/0.1962, allocations: 37.69 kB / 0.8364 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.1964, allocations: 65.78 kB / 0.8365 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1964, allocations: 0 / 0.8365 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002293/0.1966, allocations: 89.61 kB / 0.8366 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1966, allocations: 7.938 kB / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1966, allocations: 0 / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1966, allocations: 0 / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1968, allocations: 19.92 kB / 0.8366 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1968, allocations: 4.031 kB / 0.8366 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.1968, allocations: 4 kB / 0.8366 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1968, allocations: 0 / 0.8366 GB, free: 4.418 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 (5): * Single equations (assignments): 5 * 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.000104/0.1969, allocations: 122.4 kB / 0.8367 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.197, allocations: 7.953 kB / 0.8367 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.197, allocations: 8 kB / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.197, allocations: 0 / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.197, allocations: 0 / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.197, allocations: 4 kB / 0.8368 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1972, allocations: 152.7 kB / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1972, allocations: 0 / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.1973, allocations: 11.98 kB / 0.8369 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1973, allocations: 0 / 0.8369 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.1973, allocations: 0 / 0.8369 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1973, allocations: 4 kB / 0.8369 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1973, allocations: 3.938 kB / 0.8369 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1976, allocations: 179.4 kB / 0.8371 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.1976, allocations: 7.953 kB / 0.8371 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1976, allocations: 0 / 0.8371 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1977, allocations: 11.98 kB / 0.8371 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1978, allocations: 7.984 kB / 0.8371 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1978, allocations: 0 / 0.8371 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.2e-05/0.1979, allocations: 95.56 kB / 0.8372 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1979, allocations: 0 / 0.8372 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002246/0.1981, allocations: 12 kB / 0.8372 GB, free: 3.727 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.000702/0.1988, allocations: 0.7062 MB / 0.8379 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.199, allocations: 55.95 kB / 0.838 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.199, allocations: 0 / 0.838 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.1991, allocations: 27.91 kB / 0.838 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1994, allocations: 4.125 kB / 0.838 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.2011, allocations: 1.349 MB / 0.8393 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.2015, allocations: 0.6818 MB / 0.84 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.476e-05/0.2015, allocations: 7.984 kB / 0.84 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.2016, allocations: 15.42 kB / 0.84 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.2016, allocations: 0 / 0.84 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.2291, allocations: 1.905 MB / 0.8419 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.06, allocations: 7.875 kB / 0.8419 GB, free: 14.97 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.435432591941208] Failed to read output from testmodel.py, exit status != 0: 11.167152015957981 11.187546643 10.991610707 Calling exit ...