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.001351/0.001351, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001047/0.001047, allocations: 190.1 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.365/1.365, 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.8069/0.8069, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 64.09 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3954, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002213/0.3976, allocations: 1.252 MB / 0.587 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005193/0.3982, allocations: 294.7 kB / 0.5873 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.3982, allocations: 3.938 kB / 0.5873 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.3982, allocations: 0.8438 kB / 0.5873 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.3983, allocations: 13.03 kB / 0.5873 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.3986, allocations: 50.02 kB / 0.5873 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.3986, allocations: 16.64 kB / 0.5874 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.3987, allocations: 2.531 kB / 0.5874 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.3987, allocations: 9.25 kB / 0.5874 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.3988, allocations: 19.59 kB / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3988, allocations: 0 / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.399, allocations: 53.45 kB / 0.5874 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.399, allocations: 2.031 kB / 0.5874 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.399, allocations: 8 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.3991, allocations: 52.84 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3992, allocations: 0 / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3992, allocations: 3.938 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.3992, allocations: 2.062 kB / 0.5875 GB, free: 24.18 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.0003433/0.3995, allocations: 336.9 kB / 0.5878 GB, free: 23.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3996, allocations: 9.547 kB / 0.5878 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.3998, allocations: 21.02 kB / 0.5879 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.524e-05/0.3999, allocations: 162.7 kB / 0.588 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3999, allocations: 3.219 kB / 0.588 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3999, allocations: 1.812 kB / 0.588 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.4, allocations: 45.73 kB / 0.5881 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.4, allocations: 1.625 kB / 0.5881 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4, allocations: 3.938 kB / 0.5881 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4, allocations: 1.125 kB / 0.5881 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.4001, allocations: 16.75 kB / 0.5881 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.4002, allocations: 159 kB / 0.5882 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.402, allocations: 263.4 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.402, allocations: 27.94 kB / 0.5885 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.402, allocations: 0 / 0.5885 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.4021, allocations: 32.44 kB / 0.5885 GB, free: 23.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.4021, allocations: 0 / 0.5885 GB, free: 23.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001559/0.4022, allocations: 70.06 kB / 0.5886 GB, free: 23.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.4023, allocations: 54.47 kB / 0.5887 GB, free: 23.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.4023, allocations: 91.33 kB / 0.5887 GB, free: 23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.4023, allocations: 25.7 kB / 0.5888 GB, free: 22.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.338e-05/0.4023, allocations: 82.61 kB / 0.5889 GB, free: 22.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4024, allocations: 18.48 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.4024, allocations: 20.44 kB / 0.5889 GB, free: 22.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.4025, allocations: 312.2 kB / 0.5892 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.4025, allocations: 7.906 kB / 0.5892 GB, free: 22.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.4025, allocations: 17.67 kB / 0.5892 GB, free: 22.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.4026, allocations: 27.92 kB / 0.5892 GB, free: 22.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4026, allocations: 1.25 kB / 0.5892 GB, free: 22.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.985e-05/0.4026, allocations: 58.75 kB / 0.5893 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4027, allocations: 4.75 kB / 0.5893 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4027, allocations: 3.984 kB / 0.5893 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4027, allocations: 7.453 kB / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.4027, allocations: 5 kB / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4028, allocations: 0 / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.4028, allocations: 1.438 kB / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.4028, allocations: 0 / 0.5893 GB, free: 22.44 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 5.293e-05/0.4029, allocations: 113.8 kB / 0.5894 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.4029, allocations: 6.141 kB / 0.5894 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.4029, allocations: 15.44 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4029, allocations: 1.594 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4029, allocations: 0 / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4029, allocations: 1.875 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.8e-05/0.403, allocations: 158.9 kB / 0.5896 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.403, allocations: 3.938 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.4031, allocations: 5.75 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4031, allocations: 0 / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.4031, allocations: 7.969 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4031, allocations: 0 / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4031, allocations: 1.219 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.693e-05/0.4032, allocations: 77.62 kB / 0.5897 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.4032, allocations: 82.47 kB / 0.5898 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4033, allocations: 5.438 kB / 0.5898 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.4033, allocations: 2.156 kB / 0.5898 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.4033, allocations: 1.812 kB / 0.5898 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4033, allocations: 0.5312 kB / 0.5898 GB, free: 21.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.614e-05/0.4034, allocations: 78.5 kB / 0.5899 GB, free: 21.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4034, allocations: 0 / 0.5899 GB, free: 21.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.4036, allocations: 10.81 kB / 0.5899 GB, free: 21.84 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.48e-05/0.4037, allocations: 104.3 kB / 0.59 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.4038, allocations: 19.5 kB / 0.59 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4038, allocations: 0 / 0.59 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.4038, allocations: 16.55 kB / 0.59 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.404, allocations: 21.98 kB / 0.59 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.4043, allocations: 127.5 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.4045, allocations: 0.6772 MB / 0.5908 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.4045, allocations: 5.531 kB / 0.5908 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.4045, allocations: 8.719 kB / 0.5908 GB, free: 20.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4045, allocations: 1.156 kB / 0.5908 GB, free: 20.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002279/0.4068, allocations: 0.511 MB / 0.5913 GB, free: 20.52 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)