Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001162/0.001162, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.313/1.313, 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.777/0.777, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.91 kB / 0.5067 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3756, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002283/0.378, allocations: 1.266 MB / 0.587 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3793, allocations: 0.8717 MB / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.3793, allocations: 0 / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.3793, allocations: 0 / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.049e-05/0.3794, allocations: 12.47 kB / 0.5879 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.3801, allocations: 196.9 kB / 0.588 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.776e-05/0.3801, allocations: 17 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.3802, allocations: 4.219 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.3802, allocations: 6.891 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.3803, allocations: 8.094 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3803, allocations: 4.438 kB / 0.5881 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.3807, allocations: 239.4 kB / 0.5883 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.3807, allocations: 1.375 kB / 0.5883 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.3807, allocations: 16.48 kB / 0.5883 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.381, allocations: 139.8 kB / 0.5885 GB, free: 23.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.381, allocations: 2.062 kB / 0.5885 GB, free: 23.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.381, allocations: 0.5625 kB / 0.5885 GB, free: 23.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.381, allocations: 0 / 0.5885 GB, free: 23.56 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.0003351/0.3814, allocations: 363.8 kB / 0.5888 GB, free: 23.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3814, allocations: 10.02 kB / 0.5888 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.3816, allocations: 9.938 kB / 0.5888 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.027e-05/0.3816, allocations: 167.3 kB / 0.589 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3817, allocations: 1.469 kB / 0.589 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3817, allocations: 5.406 kB / 0.589 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.3818, allocations: 41.12 kB / 0.589 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3818, allocations: 1.344 kB / 0.589 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3818, allocations: 4.656 kB / 0.589 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3818, allocations: 1.125 kB / 0.589 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.3819, allocations: 18.52 kB / 0.5891 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.382, allocations: 157.6 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/0.3829, allocations: 133.3 kB / 0.5893 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.383, allocations: 28.84 kB / 0.5894 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.3831, allocations: 87.78 kB / 0.5895 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3831, allocations: 31.75 kB / 0.5895 GB, free: 22.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.3831, allocations: 0.6875 kB / 0.5895 GB, free: 22.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001642/0.3833, allocations: 65.56 kB / 0.5895 GB, free: 22.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.3833, allocations: 54 kB / 0.5896 GB, free: 22.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.301e-05/0.3834, allocations: 94.41 kB / 0.5897 GB, free: 22.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3834, allocations: 28.77 kB / 0.5897 GB, free: 22.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.301e-05/0.3834, allocations: 80.14 kB / 0.5898 GB, free: 22.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3834, allocations: 18.06 kB / 0.5898 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.3835, allocations: 13.59 kB / 0.5898 GB, free: 22.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.3835, allocations: 318.1 kB / 0.5901 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.3836, allocations: 8.984 kB / 0.5901 GB, free: 21.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.3836, allocations: 8.219 kB / 0.5901 GB, free: 21.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.3836, allocations: 31.94 kB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3836, allocations: 1.375 kB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.47e-05/0.3837, allocations: 56.91 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3837, allocations: 5.375 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3837, allocations: 0.5 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3838, allocations: 1.688 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.3838, allocations: 5.25 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3838, allocations: 9.688 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.3839, allocations: 0 / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3839, allocations: 0 / 0.5902 GB, free: 21.75 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.995e-05/0.3839, allocations: 107.4 kB / 0.5904 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.384, allocations: 15.83 kB / 0.5904 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.3841, allocations: 83.92 kB / 0.5904 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3842, allocations: 0 / 0.5904 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3842, allocations: 4 kB / 0.5904 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3842, allocations: 0 / 0.5904 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.783e-05/0.3842, allocations: 160 kB / 0.5906 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3842, allocations: 0 / 0.5906 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.3843, allocations: 12 kB / 0.5906 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3843, allocations: 0 / 0.5906 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3843, allocations: 0 / 0.5906 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3843, allocations: 4 kB / 0.5906 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3844, allocations: 0 / 0.5906 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.844e-05/0.3845, allocations: 98.52 kB / 0.5907 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.3845, allocations: 81.05 kB / 0.5908 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3845, allocations: 2.375 kB / 0.5908 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.3846, allocations: 4 kB / 0.5908 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.3846, allocations: 3.984 kB / 0.5908 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3846, allocations: 8 kB / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.702e-05/0.3846, allocations: 76 kB / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3846, allocations: 0 / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.3849, allocations: 45.94 kB / 0.5909 GB, free: 20.96 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 (5): * Single equations (assignments): 5 * 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.000318/0.3852, allocations: 171 kB / 0.5911 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.3853, allocations: 31.92 kB / 0.5911 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3853, allocations: 0 / 0.5911 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.3853, allocations: 21.77 kB / 0.5911 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.3855, allocations: 10.69 kB / 0.5911 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.3858, allocations: 116.3 kB / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.386, allocations: 0.6835 MB / 0.5919 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.386, allocations: 6.469 kB / 0.5919 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.3861, allocations: 20.06 kB / 0.592 GB, free: 19.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3861, allocations: 0 / 0.592 GB, free: 19.87 MB / 446.1 MB Notification: Performance of Templates: time 0.003303/0.3894, allocations: 1.066 MB / 0.593 GB, free: 18.86 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)