Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 104.5 kB / 15.98 MB, free: 5.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 197.7 kB / 16.91 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.3 MB / 0.5492 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.89 kB / 0.6716 GB, free: 6.957 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2148, allocations: 114.5 MB / 0.7835 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002745/0.2176, allocations: 1.557 MB / 0.785 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.2188, allocations: 0.8 MB / 0.7858 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.2188, allocations: 0 / 0.7858 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.2189, allocations: 3.938 kB / 0.7858 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.2189, allocations: 11.94 kB / 0.7858 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.2194, allocations: 123.5 kB / 0.7859 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.2195, allocations: 51.8 kB / 0.786 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2196, allocations: 15.98 kB / 0.786 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.2197, allocations: 11.94 kB / 0.786 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.2197, allocations: 31.91 kB / 0.786 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2197, allocations: 4 kB / 0.786 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.2201, allocations: 175.7 kB / 0.7862 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.2201, allocations: 11.98 kB / 0.7862 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.2201, allocations: 19.88 kB / 0.7862 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2203, allocations: 112 kB / 0.7863 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2203, allocations: 11.88 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2203, allocations: 0 / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2204, allocations: 0 / 0.7864 GB, free: 1.34 MB / 0.6544 GB 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.0005693/0.2209, allocations: 399.2 kB / 0.7867 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.221, allocations: 12.03 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.221, allocations: 0.9375 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2211, allocations: 176.2 kB / 0.7869 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2212, allocations: 384 / 0.7869 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2212, allocations: 4.375 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.2214, allocations: 70.22 kB / 0.787 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2214, allocations: 4.188 kB / 0.787 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.2215, allocations: 7.938 kB / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2215, allocations: 0 / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2218, allocations: 71.91 kB / 0.7871 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.2222, allocations: 288.6 kB / 0.7873 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2224, allocations: 62.53 kB / 0.7874 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.2226, allocations: 36.92 kB / 0.7874 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3954/0.618, allocations: 87.89 kB / 0.7875 GB, free: 49.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.6181, allocations: 31.94 kB / 0.7876 GB, free: 49.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.6181, allocations: 3.188 kB / 0.7876 GB, free: 49.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005667/0.6187, allocations: 134.2 kB / 0.7877 GB, free: 49.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.6187, allocations: 51.41 kB / 0.7877 GB, free: 49.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.6188, allocations: 118.5 kB / 0.7879 GB, free: 49.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.6189, allocations: 25.7 kB / 0.7879 GB, free: 49.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.6189, allocations: 92.33 kB / 0.788 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.6189, allocations: 8.266 kB / 0.788 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.619, allocations: 20.69 kB / 0.788 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.619, allocations: 316.7 kB / 0.7883 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.6192, allocations: 38.25 kB / 0.7883 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.6193, allocations: 32.2 kB / 0.7884 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.6196, allocations: 66.95 kB / 0.7884 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6196, allocations: 2.875 kB / 0.7884 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002755/0.6199, allocations: 101.4 kB / 0.7885 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.6199, allocations: 5.344 kB / 0.7885 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6199, allocations: 0 / 0.7885 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6199, allocations: 0 / 0.7885 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.62, allocations: 21.88 kB / 0.7885 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.62, allocations: 0 / 0.7885 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.6201, allocations: 18.02 kB / 0.7886 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.6201, allocations: 0 / 0.7886 GB, free: 48.79 MB / 0.6544 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 (3): * Single equations (assignments): 3 * 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 5.196e-05/0.6202, allocations: 113.6 kB / 0.7887 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.6202, allocations: 8.688 kB / 0.7887 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.6206, allocations: 108.9 kB / 0.7888 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6206, allocations: 0.5938 kB / 0.7888 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6206, allocations: 1.906 kB / 0.7888 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6206, allocations: 1.5 kB / 0.7888 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.6207, allocations: 176 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6207, allocations: 0.6875 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.6208, allocations: 20.19 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6208, allocations: 0 / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.6208, allocations: 4 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6209, allocations: 0.5 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6209, allocations: 0.6875 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.6212, allocations: 204 kB / 0.7892 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.6212, allocations: 83.64 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6212, allocations: 6.125 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.6213, allocations: 8.531 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.6214, allocations: 10.66 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.6214, allocations: 2.625 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.6214, allocations: 92.05 kB / 0.7894 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6214, allocations: 0 / 0.7894 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002672/0.6217, allocations: 29.06 kB / 0.7894 GB, free: 48.14 MB / 0.6544 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 (3): * Single equations (assignments): 3 * 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.0001884/0.6219, allocations: 136 kB / 0.7895 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.6222, allocations: 72.66 kB / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6222, allocations: 1 kB / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.6224, allocations: 40.53 kB / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.6227, allocations: 15.59 kB / 0.7897 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.6231, allocations: 182.3 kB / 0.7898 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.6232, allocations: 0.6814 MB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.6232, allocations: 11.75 kB / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/0.6233, allocations: 0 / 0.7905 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.002757/0.626, allocations: 1.229 MB / 0.7917 GB, free: 47.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)