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.001275/0.001275, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001238/0.001238, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.835/0.835, allocations: 135.2 MB / 425.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 63.91 kB / 0.5055 GB, free: 8.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4707, allocations: 80.93 MB / 0.5846 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00226/0.473, allocations: 1.319 MB / 0.5859 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000479/0.4735, allocations: 293.3 kB / 0.5861 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.4735, allocations: 1.312 kB / 0.5861 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.4736, allocations: 0 / 0.5861 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.4736, allocations: 9.859 kB / 0.5862 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.4739, allocations: 46.3 kB / 0.5862 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.172e-05/0.474, allocations: 17.39 kB / 0.5862 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.474, allocations: 1.125 kB / 0.5862 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.4741, allocations: 8.469 kB / 0.5862 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.4741, allocations: 11.14 kB / 0.5862 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.4741, allocations: 2.375 kB / 0.5862 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.4742, allocations: 52.3 kB / 0.5863 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.4742, allocations: 2.25 kB / 0.5863 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.4743, allocations: 7.781 kB / 0.5863 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.122e-05/0.4744, allocations: 43.02 kB / 0.5863 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4744, allocations: 0 / 0.5863 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4744, allocations: 0 / 0.5863 GB, free: 23.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.4744, allocations: 0.9688 kB / 0.5863 GB, free: 23.89 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.0003106/0.4747, allocations: 332.4 kB / 0.5867 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4748, allocations: 10.8 kB / 0.5867 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.475, allocations: 29.16 kB / 0.5867 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.219e-05/0.475, allocations: 164.3 kB / 0.5868 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4751, allocations: 6.203 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.4751, allocations: 2.156 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.4752, allocations: 42.5 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4752, allocations: 192 / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4752, allocations: 9.562 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4752, allocations: 0.9062 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.683e-05/0.4753, allocations: 17.14 kB / 0.5869 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.4754, allocations: 154.7 kB / 0.5871 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.4771, allocations: 272.8 kB / 0.5873 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.4772, allocations: 18.08 kB / 0.5873 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.4772, allocations: 0 / 0.5873 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.4772, allocations: 33.38 kB / 0.5874 GB, free: 22.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.4772, allocations: 1.281 kB / 0.5874 GB, free: 22.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001525/0.4774, allocations: 65.03 kB / 0.5874 GB, free: 22.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4774, allocations: 60.89 kB / 0.5875 GB, free: 22.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.741e-05/0.4775, allocations: 91.23 kB / 0.5876 GB, free: 22.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.4775, allocations: 30.98 kB / 0.5876 GB, free: 22.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.282e-05/0.4775, allocations: 83.89 kB / 0.5877 GB, free: 22.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.4775, allocations: 17.25 kB / 0.5877 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.4776, allocations: 12.91 kB / 0.5877 GB, free: 22.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.4776, allocations: 320 kB / 0.588 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.4777, allocations: 8.875 kB / 0.588 GB, free: 22.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.4777, allocations: 8.125 kB / 0.588 GB, free: 22.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.4777, allocations: 23.98 kB / 0.5881 GB, free: 22.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4777, allocations: 1.938 kB / 0.5881 GB, free: 22.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.767e-05/0.4778, allocations: 52.94 kB / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4778, allocations: 11.22 kB / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4778, allocations: 3.938 kB / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4778, allocations: 0 / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.4779, allocations: 9.328 kB / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4779, allocations: 1.375 kB / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.4779, allocations: 4 kB / 0.5882 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.478, allocations: 2.078 kB / 0.5882 GB, free: 22.14 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.625e-05/0.478, allocations: 110.6 kB / 0.5883 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.478, allocations: 1.312 kB / 0.5883 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.4781, allocations: 11.44 kB / 0.5883 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4781, allocations: 5.359 kB / 0.5883 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4781, allocations: 0.9688 kB / 0.5883 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4781, allocations: 0 / 0.5883 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.519e-05/0.4781, allocations: 163.8 kB / 0.5884 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4782, allocations: 0 / 0.5884 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.4782, allocations: 9.672 kB / 0.5884 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4782, allocations: 1.312 kB / 0.5884 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4782, allocations: 5.5 kB / 0.5884 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4782, allocations: 1.281 kB / 0.5884 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4782, allocations: 4 kB / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.906e-05/0.4783, allocations: 83.03 kB / 0.5885 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.4784, allocations: 79.3 kB / 0.5886 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4784, allocations: 3.938 kB / 0.5886 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.4784, allocations: 8.453 kB / 0.5886 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.4785, allocations: 5.375 kB / 0.5886 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.4785, allocations: 5.312 kB / 0.5886 GB, free: 21.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.564e-05/0.4785, allocations: 76.56 kB / 0.5887 GB, free: 21.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4785, allocations: 0 / 0.5887 GB, free: 21.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000179/0.4787, allocations: 7.062 kB / 0.5887 GB, free: 21.53 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 8.04e-05/0.4788, allocations: 96.03 kB / 0.5888 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.558e-05/0.4789, allocations: 34.48 kB / 0.5888 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4789, allocations: 1.188 kB / 0.5888 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.4789, allocations: 12.69 kB / 0.5888 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.4791, allocations: 17.88 kB / 0.5889 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.4794, allocations: 158.3 kB / 0.589 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.991e-05/0.4795, allocations: 0.6731 MB / 0.5897 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.4796, allocations: 9.062 kB / 0.5897 GB, free: 20.54 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4796, allocations: 1.312 kB / 0.5897 GB, free: 20.54 MB / 446.1 MB Notification: Performance of Templates: time 0.001724/0.4813, allocations: 0.5331 MB / 0.5902 GB, free: 20.29 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)