Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001039/0.001039, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001046/0.001046, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7913/0.7913, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.89 kB / 0.5067 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3379, allocations: 80.92 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002296/0.3402, allocations: 1.477 MB / 0.5872 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.3412, allocations: 0.8142 MB / 0.588 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.3412, allocations: 1.531 kB / 0.588 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.3413, allocations: 3.938 kB / 0.588 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.3413, allocations: 13.33 kB / 0.588 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.3417, allocations: 126.6 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.3418, allocations: 58.38 kB / 0.5882 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.3419, allocations: 16.02 kB / 0.5882 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/0.342, allocations: 19.88 kB / 0.5882 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.342, allocations: 30.2 kB / 0.5883 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.342, allocations: 5.562 kB / 0.5883 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.3423, allocations: 165.4 kB / 0.5884 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.3424, allocations: 13.14 kB / 0.5884 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.3424, allocations: 22.52 kB / 0.5885 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3426, allocations: 146.3 kB / 0.5886 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3426, allocations: 0.5312 kB / 0.5886 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3427, allocations: 1.312 kB / 0.5886 GB, free: 23.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3427, allocations: 0 / 0.5886 GB, free: 23.53 MB / 446.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.0004232/0.3431, allocations: 402.4 kB / 0.589 GB, free: 23.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3431, allocations: 14.62 kB / 0.589 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.3432, allocations: 4.75 kB / 0.589 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.415e-05/0.3433, allocations: 182.9 kB / 0.5892 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3433, allocations: 6.781 kB / 0.5892 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3433, allocations: 1.656 kB / 0.5892 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.3435, allocations: 81.95 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3435, allocations: 0.8438 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3435, allocations: 3.938 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3435, allocations: 0.6562 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.3438, allocations: 73.8 kB / 0.5893 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.3441, allocations: 274 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3442, allocations: 64.09 kB / 0.5897 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3444, allocations: 42 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.3445, allocations: 89.88 kB / 0.5898 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.3446, allocations: 31.44 kB / 0.5898 GB, free: 22.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3446, allocations: 0 / 0.5898 GB, free: 22.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004749/0.345, allocations: 128.8 kB / 0.5899 GB, free: 22.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.3451, allocations: 59.34 kB / 0.59 GB, free: 21.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.3451, allocations: 117.8 kB / 0.5901 GB, free: 21.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.3452, allocations: 26.2 kB / 0.5901 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.3452, allocations: 93.05 kB / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.3452, allocations: 7.844 kB / 0.5902 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.3452, allocations: 14.28 kB / 0.5902 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.3453, allocations: 323.3 kB / 0.5906 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3454, allocations: 35.09 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3455, allocations: 31.95 kB / 0.5906 GB, free: 21.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.3457, allocations: 69.72 kB / 0.5907 GB, free: 21.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3457, allocations: 0 / 0.5907 GB, free: 21.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002559/0.346, allocations: 99.56 kB / 0.5908 GB, free: 21.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.346, allocations: 7.938 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.346, allocations: 1.562 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3461, allocations: 7.938 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3462, allocations: 11.98 kB / 0.5908 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3462, allocations: 1.625 kB / 0.5908 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.3462, allocations: 15.97 kB / 0.5908 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3462, allocations: 3.984 kB / 0.5908 GB, free: 21.09 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.3463, allocations: 121.7 kB / 0.5909 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3463, allocations: 8 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.3466, allocations: 105.8 kB / 0.5911 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3466, allocations: 5.594 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3466, allocations: 3.984 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3466, allocations: 3.984 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.3468, allocations: 177.6 kB / 0.5912 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3468, allocations: 4.438 kB / 0.5912 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.3469, allocations: 17.11 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3469, allocations: 0 / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3469, allocations: 0 / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3469, allocations: 0.7188 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3469, allocations: 0 / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3472, allocations: 202.3 kB / 0.5914 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.3472, allocations: 81.02 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3472, allocations: 0.6875 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3473, allocations: 13.14 kB / 0.5915 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3474, allocations: 3.984 kB / 0.5915 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3474, allocations: 9.625 kB / 0.5916 GB, free: 20.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.893e-05/0.3474, allocations: 93.56 kB / 0.5916 GB, free: 20.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3474, allocations: 0 / 0.5916 GB, free: 20.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3477, allocations: 31.94 kB / 0.5917 GB, free: 20.14 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 (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.0001493/0.3478, allocations: 128.4 kB / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3481, allocations: 73.48 kB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3481, allocations: 1.562 kB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3483, allocations: 35.97 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3485, allocations: 15.81 kB / 0.5919 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.3488, allocations: 148.5 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.935e-05/0.3489, allocations: 0.6868 MB / 0.5927 GB, free: 19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.3489, allocations: 4 kB / 0.5927 GB, free: 19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.3489, allocations: 11.44 kB / 0.5927 GB, free: 18.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3489, allocations: 0 / 0.5927 GB, free: 18.99 MB / 446.1 MB Notification: Performance of Templates: time 0.003112/0.352, allocations: 1.367 MB / 0.5941 GB, free: 17.68 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)