Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 110 kB / 16.37 MB, free: 6.469 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.001058/0.001058, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 55.91 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 80.89 MB / 0.5858 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002203/0.3464, allocations: 1.262 MB / 0.587 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004718/0.3469, allocations: 297.8 kB / 0.5873 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.3469, allocations: 1.062 kB / 0.5873 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.3469, allocations: 7.922 kB / 0.5873 GB, free: 24.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.55e-05/0.347, allocations: 1.625 kB / 0.5873 GB, free: 24.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3473, allocations: 46.66 kB / 0.5873 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.3473, allocations: 24.39 kB / 0.5874 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.3474, allocations: 5.469 kB / 0.5874 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.3474, allocations: 8.562 kB / 0.5874 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.3475, allocations: 8.078 kB / 0.5874 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3475, allocations: 0.875 kB / 0.5874 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3476, allocations: 53.42 kB / 0.5874 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.3476, allocations: 2.5 kB / 0.5874 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.3477, allocations: 15.52 kB / 0.5874 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.3478, allocations: 41.33 kB / 0.5875 GB, free: 24.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3478, allocations: 2.062 kB / 0.5875 GB, free: 24.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3478, allocations: 3.984 kB / 0.5875 GB, free: 24.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3478, allocations: 4.844 kB / 0.5875 GB, free: 24.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002864/0.3481, allocations: 333.7 kB / 0.5878 GB, free: 24.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3482, allocations: 12.7 kB / 0.5878 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.3484, allocations: 19.7 kB / 0.5878 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.884e-05/0.3484, allocations: 161.5 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3485, allocations: 2.094 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3485, allocations: 2.031 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3486, allocations: 51.17 kB / 0.588 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3486, allocations: 4.125 kB / 0.5881 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3486, allocations: 3.938 kB / 0.5881 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3486, allocations: 6.984 kB / 0.5881 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.3487, allocations: 12.62 kB / 0.5881 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.3488, allocations: 154 kB / 0.5882 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.3506, allocations: 268.1 kB / 0.5885 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.3506, allocations: 22.16 kB / 0.5885 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.3507, allocations: 2.719 kB / 0.5885 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.3507, allocations: 30.56 kB / 0.5885 GB, free: 23.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3507, allocations: 5.781 kB / 0.5885 GB, free: 23.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000144/0.3508, allocations: 64.34 kB / 0.5886 GB, free: 23.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.3509, allocations: 53.5 kB / 0.5886 GB, free: 23.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.708e-05/0.3509, allocations: 94.73 kB / 0.5887 GB, free: 23.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.3509, allocations: 29.7 kB / 0.5888 GB, free: 23.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.236e-05/0.3509, allocations: 85.59 kB / 0.5888 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.351, allocations: 20.89 kB / 0.5889 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.351, allocations: 20.38 kB / 0.5889 GB, free: 23.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.3511, allocations: 312.3 kB / 0.5892 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.3511, allocations: 9 kB / 0.5892 GB, free: 22.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.3511, allocations: 8.953 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.268e-05/0.3511, allocations: 31.64 kB / 0.5892 GB, free: 22.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3512, allocations: 0 / 0.5892 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.835e-05/0.3512, allocations: 52.78 kB / 0.5893 GB, free: 22.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3512, allocations: 9.125 kB / 0.5893 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3513, allocations: 3.938 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3513, allocations: 1.531 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.3513, allocations: 9.25 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3513, allocations: 0 / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.3514, allocations: 2.719 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.3514, allocations: 1.156 kB / 0.5893 GB, free: 22.77 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 (4): * Single equations (assignments): 4 * 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.37e-05/0.3514, allocations: 107.2 kB / 0.5894 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.3515, allocations: 9.891 kB / 0.5894 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.3515, allocations: 16 kB / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3515, allocations: 1.25 kB / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3515, allocations: 0.5625 kB / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3515, allocations: 1.906 kB / 0.5894 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.255e-05/0.3516, allocations: 158.6 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3516, allocations: 2.281 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.3516, allocations: 5 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3516, allocations: 1.375 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3517, allocations: 4.266 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3517, allocations: 1.531 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3517, allocations: 0 / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.964e-05/0.3517, allocations: 83.52 kB / 0.5897 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.3518, allocations: 83.91 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3518, allocations: 3.938 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.3519, allocations: 1.594 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.3519, allocations: 9.281 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3519, allocations: 2.938 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.673e-05/0.3519, allocations: 76.5 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3519, allocations: 0 / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.3521, allocations: 7.656 kB / 0.5899 GB, free: 22.16 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 (4): * Single equations (assignments): 4 * 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 9.055e-05/0.3522, allocations: 99.02 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.846e-05/0.3523, allocations: 33.14 kB / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3523, allocations: 0 / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.3523, allocations: 15.69 kB / 0.59 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.3525, allocations: 20.75 kB / 0.59 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.3528, allocations: 130.8 kB / 0.5901 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.491e-05/0.3529, allocations: 0.6778 MB / 0.5908 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.3529, allocations: 3.281 kB / 0.5908 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.353, allocations: 11.44 kB / 0.5908 GB, free: 21.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.353, allocations: 0 / 0.5908 GB, free: 21.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002152/0.3551, allocations: 0.5023 MB / 0.5913 GB, free: 20.7 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)