Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 107 kB / 16.36 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.001871/0.001871, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8123/0.8123, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3471, allocations: 80.18 MB / 0.5815 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002578/0.3497, allocations: 1.283 MB / 0.5827 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.3507, allocations: 0.7757 MB / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.3507, allocations: 0.8438 kB / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.3508, allocations: 3.938 kB / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.3508, allocations: 9.891 kB / 0.5835 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3512, allocations: 166.4 kB / 0.5837 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.944e-05/0.3513, allocations: 19.86 kB / 0.5837 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.3514, allocations: 1.281 kB / 0.5837 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.3514, allocations: 18.34 kB / 0.5837 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.3515, allocations: 7.953 kB / 0.5837 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.3515, allocations: 1.312 kB / 0.5837 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.3519, allocations: 291.5 kB / 0.584 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.3519, allocations: 5.406 kB / 0.584 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.352, allocations: 9.594 kB / 0.584 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.3522, allocations: 173.8 kB / 0.5842 GB, free: 25.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3522, allocations: 1.188 kB / 0.5842 GB, free: 25.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3522, allocations: 1.344 kB / 0.5842 GB, free: 25.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3523, allocations: 0 / 0.5842 GB, free: 25.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003376/0.3526, allocations: 363.3 kB / 0.5845 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3527, allocations: 14.25 kB / 0.5845 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.3529, allocations: 19.97 kB / 0.5846 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.338e-05/0.353, allocations: 167.2 kB / 0.5847 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.353, allocations: 1.312 kB / 0.5847 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.353, allocations: 2.375 kB / 0.5847 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3531, allocations: 59.09 kB / 0.5848 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.3531, allocations: 192 / 0.5848 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3531, allocations: 4.844 kB / 0.5848 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3531, allocations: 5.188 kB / 0.5848 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.3532, allocations: 28.36 kB / 0.5848 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.3533, allocations: 160.7 kB / 0.585 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3534, allocations: 63.47 kB / 0.585 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.3535, allocations: 23.86 kB / 0.585 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3535, allocations: 6.391 kB / 0.5851 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.3535, allocations: 36.02 kB / 0.5851 GB, free: 24.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.3535, allocations: 0.9375 kB / 0.5851 GB, free: 24.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001808/0.3537, allocations: 84.97 kB / 0.5852 GB, free: 24.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3538, allocations: 54.88 kB / 0.5852 GB, free: 24.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.243e-05/0.3538, allocations: 92.08 kB / 0.5853 GB, free: 24.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.3538, allocations: 25.7 kB / 0.5853 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.315e-05/0.3539, allocations: 80.14 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3539, allocations: 22.3 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.3539, allocations: 19.91 kB / 0.5855 GB, free: 24.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.354, allocations: 312.8 kB / 0.5857 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.354, allocations: 13.77 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.354, allocations: 14.78 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.3541, allocations: 37.97 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3541, allocations: 4.562 kB / 0.5858 GB, free: 24.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.2e-05/0.3542, allocations: 62.41 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3542, allocations: 6.5 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3542, allocations: 5.562 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3543, allocations: 1.531 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3544, allocations: 10.28 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3544, allocations: 1.875 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.3545, allocations: 10.11 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3545, allocations: 1.656 kB / 0.5859 GB, free: 24.11 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 (6): * Single equations (assignments): 6 * 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.284e-05/0.3545, allocations: 112.3 kB / 0.586 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.3545, allocations: 1.156 kB / 0.586 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.3547, allocations: 93.59 kB / 0.5861 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3547, allocations: 1.969 kB / 0.5861 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3547, allocations: 1.281 kB / 0.5861 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3548, allocations: 3.984 kB / 0.5861 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.908e-05/0.3548, allocations: 172.8 kB / 0.5863 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3548, allocations: 1.562 kB / 0.5863 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.3549, allocations: 11.91 kB / 0.5863 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3549, allocations: 1.562 kB / 0.5863 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.355, allocations: 11.73 kB / 0.5863 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.355, allocations: 0 / 0.5863 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.355, allocations: 0 / 0.5863 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.3551, allocations: 103.3 kB / 0.5864 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.3551, allocations: 84.97 kB / 0.5865 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3551, allocations: 5.406 kB / 0.5865 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.3552, allocations: 9.5 kB / 0.5865 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.3552, allocations: 1.75 kB / 0.5865 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3552, allocations: 3.094 kB / 0.5865 GB, free: 23.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.829e-05/0.3553, allocations: 81.3 kB / 0.5866 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3553, allocations: 2.281 kB / 0.5866 GB, free: 23.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.3555, allocations: 7.625 kB / 0.5866 GB, free: 23.42 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 (7): * Single equations (assignments): 7 * 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.302e-05/0.3555, allocations: 100.1 kB / 0.5867 GB, free: 23.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3557, allocations: 38.77 kB / 0.5867 GB, free: 23.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3557, allocations: 1.094 kB / 0.5867 GB, free: 23.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.98e-05/0.3557, allocations: 21.77 kB / 0.5867 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.3559, allocations: 15.28 kB / 0.5868 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.3562, allocations: 124.9 kB / 0.5869 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.936e-05/0.3563, allocations: 0.6832 MB / 0.5875 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.255e-05/0.3563, allocations: 10.39 kB / 0.5876 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.3564, allocations: 14.81 kB / 0.5876 GB, free: 22.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3564, allocations: 0 / 0.5876 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002553/0.3589, allocations: 0.5517 MB / 0.5881 GB, free: 22.21 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)