Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7544/0.7544, allocations: 128.8 MB / 143.8 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 173.5 kB / 173.9 MB, free: 6.105 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 409.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008701/0.00087, allocations: 94.83 kB / 486.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 13.22 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 76.77 MB / 0.6354 GB, free: 30.51 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00156/0.1889, allocations: 1.191 MB / 0.6366 GB, free: 29.3 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.1899, allocations: 0.7106 MB / 0.6373 GB, free: 28.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.19, allocations: 4 kB / 0.6373 GB, free: 28.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.19, allocations: 0 / 0.6373 GB, free: 28.58 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.1901, allocations: 11.86 kB / 0.6373 GB, free: 28.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1904, allocations: 95.67 kB / 0.6374 GB, free: 28.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.1905, allocations: 47.8 kB / 0.6374 GB, free: 28.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1906, allocations: 11.98 kB / 0.6374 GB, free: 28.42 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.1907, allocations: 27.84 kB / 0.6375 GB, free: 28.39 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.1908, allocations: 15.92 kB / 0.6375 GB, free: 28.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1908, allocations: 4 kB / 0.6375 GB, free: 28.37 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.191, allocations: 159.7 kB / 0.6376 GB, free: 28.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.1911, allocations: 7.984 kB / 0.6376 GB, free: 28.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.1911, allocations: 33.64 kB / 0.6377 GB, free: 28.17 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1913, allocations: 100.1 kB / 0.6378 GB, free: 28.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1913, allocations: 0 / 0.6378 GB, free: 28.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1913, allocations: 0 / 0.6378 GB, free: 28.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1913, allocations: 0 / 0.6378 GB, free: 28.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005025/0.1918, allocations: 395.2 kB / 0.6381 GB, free: 27.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1918, allocations: 8.031 kB / 0.6382 GB, free: 27.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1919, allocations: 11.86 kB / 0.6382 GB, free: 27.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.192, allocations: 171 kB / 0.6383 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.192, allocations: 0 / 0.6383 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.192, allocations: 11.94 kB / 0.6383 GB, free: 27.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.1923, allocations: 81.66 kB / 0.6384 GB, free: 27.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1923, allocations: 4 kB / 0.6384 GB, free: 27.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1923, allocations: 0 / 0.6384 GB, free: 27.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1923, allocations: 0 / 0.6384 GB, free: 27.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1927, allocations: 91.92 kB / 0.6385 GB, free: 27.22 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.193, allocations: 284.7 kB / 0.6388 GB, free: 26.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1932, allocations: 78.41 kB / 0.6389 GB, free: 26.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1934, allocations: 48.92 kB / 0.6389 GB, free: 26.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.1936, allocations: 89.09 kB / 0.639 GB, free: 26.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.1936, allocations: 34.56 kB / 0.639 GB, free: 26.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1936, allocations: 3.938 kB / 0.639 GB, free: 26.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005356/0.1941, allocations: 173.4 kB / 0.6392 GB, free: 26.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.1942, allocations: 55.41 kB / 0.6392 GB, free: 26.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.1942, allocations: 113.8 kB / 0.6393 GB, free: 26.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.1943, allocations: 25.7 kB / 0.6394 GB, free: 26.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.1943, allocations: 96.06 kB / 0.6395 GB, free: 26.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1943, allocations: 7.906 kB / 0.6395 GB, free: 26.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1943, allocations: 0 / 0.6395 GB, free: 26.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.1944, allocations: 318.8 kB / 0.6398 GB, free: 25.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1946, allocations: 43.95 kB / 0.6398 GB, free: 25.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1947, allocations: 43.97 kB / 0.6399 GB, free: 25.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1949, allocations: 44.23 kB / 0.6399 GB, free: 25.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1949, allocations: 0 / 0.6399 GB, free: 25.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003094/0.1952, allocations: 125.5 kB / 0.64 GB, free: 25.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1952, allocations: 4 kB / 0.64 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1952, allocations: 4 kB / 0.64 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1952, allocations: 11.89 kB / 0.64 GB, free: 25.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1954, allocations: 15.98 kB / 0.6401 GB, free: 25.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1954, allocations: 0 / 0.6401 GB, free: 25.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.1955, allocations: 23.97 kB / 0.6401 GB, free: 25.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1955, allocations: 4 kB / 0.6401 GB, free: 25.46 MB / 442.7 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/0.1956, allocations: 109.8 kB / 0.6402 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1956, allocations: 7.906 kB / 0.6402 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.196, allocations: 129.5 kB / 0.6403 GB, free: 25.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.196, allocations: 3.953 kB / 0.6403 GB, free: 25.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1961, allocations: 0 / 0.6403 GB, free: 25.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1961, allocations: 0 / 0.6403 GB, free: 25.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.1962, allocations: 169.6 kB / 0.6405 GB, free: 24.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1962, allocations: 0 / 0.6405 GB, free: 24.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/0.1963, allocations: 31.86 kB / 0.6405 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1963, allocations: 0 / 0.6405 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1964, allocations: 4 kB / 0.6405 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1964, allocations: 0 / 0.6405 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1964, allocations: 3.953 kB / 0.6405 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.1967, allocations: 215.5 kB / 0.6407 GB, free: 24.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.1968, allocations: 81.02 kB / 0.6408 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1968, allocations: 4 kB / 0.6408 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1969, allocations: 15.98 kB / 0.6408 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.197, allocations: 11.98 kB / 0.6408 GB, free: 24.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.197, allocations: 3.953 kB / 0.6408 GB, free: 24.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.468e-05/0.197, allocations: 95.64 kB / 0.6409 GB, free: 24.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.197, allocations: 4 kB / 0.6409 GB, free: 24.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000247/0.1973, allocations: 31.88 kB / 0.641 GB, free: 24.46 MB / 442.7 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.1975, allocations: 147 kB / 0.6411 GB, free: 24.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.1979, allocations: 91.92 kB / 0.6412 GB, free: 24.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1979, allocations: 0 / 0.6412 GB, free: 24.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1981, allocations: 43.97 kB / 0.6412 GB, free: 24.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1984, allocations: 11.98 kB / 0.6412 GB, free: 24.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.1988, allocations: 166.4 kB / 0.6414 GB, free: 23.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.1989, allocations: 0.6848 MB / 0.6421 GB, free: 23.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.524e-05/0.199, allocations: 4 kB / 0.6421 GB, free: 23.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.199, allocations: 11.44 kB / 0.6421 GB, free: 23.24 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.199, allocations: 0 / 0.6421 GB, free: 23.24 MB / 442.7 MB Notification: Performance of Templates: time 0.003595/0.2026, allocations: 1.223 MB / 0.6433 GB, free: 22.03 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)