Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0006708/0.0006708, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0007285/0.0007284, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6582/0.6582, allocations: 132.4 MB / 423.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 13 kB / 0.5034 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3322, allocations: 81.58 MB / 0.5831 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001162/0.3334, allocations: 1.193 MB / 0.5842 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00088/0.3343, allocations: 0.7609 MB / 0.585 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.3343, allocations: 0 / 0.585 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.3343, allocations: 5.734 kB / 0.585 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.992e-05/0.3344, allocations: 14.98 kB / 0.585 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3347, allocations: 112.8 kB / 0.5851 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.3348, allocations: 48.42 kB / 0.5852 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.492e-05/0.3348, allocations: 12.66 kB / 0.5852 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.3349, allocations: 18.33 kB / 0.5852 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.3349, allocations: 23.36 kB / 0.5852 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.335, allocations: 2.344 kB / 0.5852 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.3352, allocations: 165.3 kB / 0.5854 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.3353, allocations: 3.594 kB / 0.5854 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.3353, allocations: 36.45 kB / 0.5854 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.3355, allocations: 107.8 kB / 0.5855 GB, free: 2.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3355, allocations: 5.578 kB / 0.5855 GB, free: 2.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3355, allocations: 0 / 0.5855 GB, free: 2.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.3355, allocations: 0 / 0.5855 GB, free: 2.336 MB / 430.1 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.0003802/0.3359, allocations: 400.3 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.3359, allocations: 8.562 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.3359, allocations: 11.11 kB / 0.5859 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.844e-05/0.336, allocations: 171 kB / 0.5861 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.336, allocations: 1.906 kB / 0.5861 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.336, allocations: 10.27 kB / 0.5861 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3363, allocations: 85.14 kB / 0.5862 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3363, allocations: 4 kB / 0.5862 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3363, allocations: 0.6562 kB / 0.5862 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3363, allocations: 1.953 kB / 0.5862 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.3366, allocations: 92.22 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.3368, allocations: 282.1 kB / 0.5865 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.337, allocations: 70.19 kB / 0.5866 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3372, allocations: 50.59 kB / 0.5866 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.3373, allocations: 97.97 kB / 0.5867 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.3373, allocations: 32.14 kB / 0.5868 GB, free: 1.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3373, allocations: 0 / 0.5868 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000465/0.3378, allocations: 166.6 kB / 0.5869 GB, free: 1.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.3378, allocations: 56.56 kB / 0.587 GB, free: 1.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.3379, allocations: 116.2 kB / 0.5871 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.3379, allocations: 26.67 kB / 0.5871 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.264e-05/0.3379, allocations: 87.64 kB / 0.5872 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.338, allocations: 10.66 kB / 0.5872 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.338, allocations: 0 / 0.5872 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.338, allocations: 317.9 kB / 0.5875 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3381, allocations: 49.09 kB / 0.5876 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3383, allocations: 40.59 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.3384, allocations: 46.02 kB / 0.5876 GB, free: 0.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3384, allocations: 0 / 0.5876 GB, free: 0.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002675/0.3387, allocations: 122.6 kB / 0.5878 GB, free: 464 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.3387, allocations: 4.75 kB / 0.5878 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3387, allocations: 0.6562 kB / 0.5878 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3387, allocations: 4.578 kB / 0.5878 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3388, allocations: 24.39 kB / 0.5878 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3388, allocations: 0.8125 kB / 0.5878 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.3389, allocations: 20.59 kB / 0.5878 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3389, allocations: 0.9688 kB / 0.5878 GB, free: 452 kB / 430.1 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 4.444e-05/0.339, allocations: 117.5 kB / 0.5879 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.339, allocations: 14.77 kB / 0.5879 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.3393, allocations: 128.6 kB / 0.5881 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3393, allocations: 1.562 kB / 0.5881 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3393, allocations: 3.953 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3393, allocations: 0 / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.3394, allocations: 170.5 kB / 0.5882 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3395, allocations: 0 / 0.5882 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.3395, allocations: 24.91 kB / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3396, allocations: 1.062 kB / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3396, allocations: 0 / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3396, allocations: 1.719 kB / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3396, allocations: 0 / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.3399, allocations: 230.3 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.34, allocations: 80.08 kB / 0.5886 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.34, allocations: 1.375 kB / 0.5886 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.3401, allocations: 19.47 kB / 0.5886 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.3401, allocations: 8.188 kB / 0.5886 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3401, allocations: 1.797 kB / 0.5886 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.036e-05/0.3402, allocations: 102.4 kB / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3402, allocations: 0 / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3404, allocations: 32.56 kB / 0.5887 GB, free: 15.7 MB / 446.1 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.0001697/0.3406, allocations: 128.7 kB / 0.5888 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.3409, allocations: 93.59 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.3409, allocations: 1.125 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3411, allocations: 44.16 kB / 0.589 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3413, allocations: 14.91 kB / 0.589 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.3416, allocations: 168.2 kB / 0.5891 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3418, allocations: 0.6849 MB / 0.5898 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.238e-05/0.3418, allocations: 6.5 kB / 0.5898 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.3419, allocations: 9.766 kB / 0.5898 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3419, allocations: 1.25 kB / 0.5898 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Templates: time 0.003247/0.3451, allocations: 1.191 MB / 0.591 GB, free: 14.61 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)