Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.894/2.894, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 190.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 89.19 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006534, allocations: 16.55 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2275, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001455/0.2291, allocations: 0.9843 MB / 0.9792 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2305, allocations: 0.7332 MB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.2306, allocations: 4 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.2306, allocations: 4 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.2307, allocations: 3.984 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.2313, allocations: 111.6 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.2313, allocations: 15.97 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.2314, allocations: 3.938 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.2314, allocations: 15.98 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.2315, allocations: 11.94 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2316, allocations: 0 / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.232, allocations: 183.8 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.232, allocations: 7.984 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.2321, allocations: 29.7 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.2323, allocations: 76.14 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2323, allocations: 3.938 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2323, allocations: 3.938 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2324, allocations: 0 / 0.9803 GB, free: 26.19 MB / 0.6198 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.0004236/0.2328, allocations: 359.2 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2328, allocations: 12.03 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.2329, allocations: 4 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.974e-05/0.233, allocations: 167 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.927e-05/0.2331, allocations: 29.7 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2331, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2333, allocations: 45.67 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2333, allocations: 0 / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2333, allocations: 4 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2334, allocations: 0 / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.2335, allocations: 19.98 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.2337, allocations: 161.7 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.234, allocations: 46.5 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/0.2344, allocations: 178.3 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.2344, allocations: 38.56 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.2344, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003528/0.2348, allocations: 61.81 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2348, allocations: 59.34 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.2349, allocations: 101.9 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2349, allocations: 29.7 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.235, allocations: 80.14 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.235, allocations: 15.75 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.235, allocations: 4 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.2351, allocations: 314.8 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.2352, allocations: 15.98 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.2353, allocations: 7.938 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.892e-05/0.2354, allocations: 15.98 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2354, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001943/0.2356, allocations: 49.69 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2356, allocations: 6.031 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2356, allocations: 8 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2357, allocations: 0 / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.2358, allocations: 11.92 kB / 0.9821 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2358, allocations: 0 / 0.9821 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.2358, allocations: 4 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2359, allocations: 4 kB / 0.9821 GB, free: 24.12 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.2359, allocations: 117.8 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.236, allocations: 3.906 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.2362, allocations: 73.16 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2362, allocations: 0 / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2363, allocations: 3.938 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2363, allocations: 3.984 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2364, allocations: 161.6 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2364, allocations: 0 / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.2365, allocations: 11.94 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2365, allocations: 0 / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2365, allocations: 4 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2365, allocations: 0 / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2365, allocations: 8 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.2368, allocations: 81.06 kB / 0.9825 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.2368, allocations: 85.02 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2369, allocations: 3.984 kB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.2369, allocations: 4 kB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.237, allocations: 0 / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.237, allocations: 0 / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.2371, allocations: 91.69 kB / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2371, allocations: 0 / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003345/0.2374, allocations: 35.94 kB / 0.9828 GB, free: 23.34 MB / 0.6198 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 (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.000271/0.2377, allocations: 135.1 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2379, allocations: 27.98 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2379, allocations: 0 / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.238, allocations: 20.22 kB / 0.9829 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.2383, allocations: 4 kB / 0.9829 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.2386, allocations: 146.5 kB / 0.9831 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2388, allocations: 0.677 MB / 0.9837 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.2389, allocations: 11.98 kB / 0.9837 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.2389, allocations: 11.44 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/0.2389, allocations: 0 / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.004204/0.2431, allocations: 0.9935 MB / 0.9847 GB, free: 21.27 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)