Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001148/0.001148, allocations: 113.5 kB / 17.03 MB, free: 5.656 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.00097/0.00097, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7184/0.7184, allocations: 115.1 MB / 406.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 64.14 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3698, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002073/0.3719, allocations: 1.263 MB / 0.5588 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.373, allocations: 0.8652 MB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.373, allocations: 3.938 kB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.373, allocations: 2.297 kB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.574e-05/0.3731, allocations: 1.188 kB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.3737, allocations: 198 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.3737, allocations: 23.16 kB / 0.5599 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.3738, allocations: 1.75 kB / 0.5599 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.3738, allocations: 7.047 kB / 0.5599 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.3739, allocations: 12.62 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.3739, allocations: 1.156 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003551/0.3743, allocations: 238 kB / 0.5601 GB, free: 35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.3743, allocations: 5.406 kB / 0.5601 GB, free: 35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.3743, allocations: 5.656 kB / 0.5601 GB, free: 35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3746, allocations: 149.1 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3746, allocations: 0.5312 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3746, allocations: 3.344 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3746, allocations: 0 / 0.5603 GB, free: 34.95 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.0003221/0.3749, allocations: 352.7 kB / 0.5606 GB, free: 34.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.375, allocations: 9.188 kB / 0.5606 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.3751, allocations: 10.09 kB / 0.5606 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.3e-05/0.3752, allocations: 166.6 kB / 0.5608 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3752, allocations: 3.938 kB / 0.5608 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3752, allocations: 6.969 kB / 0.5608 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.3753, allocations: 45.72 kB / 0.5608 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3754, allocations: 1.031 kB / 0.5608 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3754, allocations: 5.531 kB / 0.5608 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3754, allocations: 1.344 kB / 0.5608 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.3754, allocations: 14.66 kB / 0.5608 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.3756, allocations: 163.6 kB / 0.561 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008968/0.3765, allocations: 131.3 kB / 0.5611 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.3765, allocations: 26.3 kB / 0.5612 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-05/0.3766, allocations: 84 kB / 0.5612 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3767, allocations: 37.42 kB / 0.5613 GB, free: 33.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3767, allocations: 0 / 0.5613 GB, free: 33.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.3769, allocations: 63.88 kB / 0.5613 GB, free: 33.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.3769, allocations: 53.39 kB / 0.5614 GB, free: 33.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.47e-05/0.3769, allocations: 93.22 kB / 0.5615 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.377, allocations: 29.7 kB / 0.5615 GB, free: 33.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.255e-05/0.377, allocations: 81.31 kB / 0.5616 GB, free: 33.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.377, allocations: 15.55 kB / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.377, allocations: 18.44 kB / 0.5616 GB, free: 33.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.3771, allocations: 319 kB / 0.5619 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3771, allocations: 9.781 kB / 0.5619 GB, free: 33.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.3771, allocations: 6.484 kB / 0.5619 GB, free: 33.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.3772, allocations: 30.58 kB / 0.562 GB, free: 33.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3772, allocations: 1.188 kB / 0.562 GB, free: 33.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.933e-05/0.3773, allocations: 58.22 kB / 0.562 GB, free: 33.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3773, allocations: 5.125 kB / 0.562 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3773, allocations: 0.7812 kB / 0.562 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3773, allocations: 2.234 kB / 0.562 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.3774, allocations: 11.09 kB / 0.562 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3774, allocations: 0.5156 kB / 0.562 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.3774, allocations: 2.188 kB / 0.562 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3774, allocations: 1.859 kB / 0.562 GB, free: 33.21 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.475e-05/0.3775, allocations: 113.8 kB / 0.5621 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.3775, allocations: 5.438 kB / 0.5622 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.3777, allocations: 74.12 kB / 0.5622 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3777, allocations: 9.625 kB / 0.5622 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3777, allocations: 0.75 kB / 0.5622 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3777, allocations: 0 / 0.5622 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.782e-05/0.3778, allocations: 165.3 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3778, allocations: 0 / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.3779, allocations: 12.03 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3779, allocations: 2.906 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3779, allocations: 0.6562 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3779, allocations: 1.625 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3779, allocations: 0.6094 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.309e-05/0.378, allocations: 94.55 kB / 0.5625 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.3781, allocations: 86.09 kB / 0.5626 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.3781, allocations: 1.641 kB / 0.5626 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.3781, allocations: 5.438 kB / 0.5626 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3782, allocations: 7.406 kB / 0.5626 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3782, allocations: 7.062 kB / 0.5626 GB, free: 32.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.437e-05/0.3782, allocations: 76.5 kB / 0.5627 GB, free: 32.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3782, allocations: 1.312 kB / 0.5627 GB, free: 32.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3784, allocations: 46.77 kB / 0.5627 GB, free: 32.56 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.0002962/0.3787, allocations: 165.6 kB / 0.5629 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.573e-05/0.3788, allocations: 29 kB / 0.5629 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3789, allocations: 0 / 0.5629 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.764e-05/0.3789, allocations: 15.75 kB / 0.5629 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.379, allocations: 13.94 kB / 0.5629 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.3793, allocations: 127.7 kB / 0.5631 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.241e-05/0.3794, allocations: 0.6813 MB / 0.5637 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.3795, allocations: 9.25 kB / 0.5637 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.3795, allocations: 12.69 kB / 0.5637 GB, free: 31.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3795, allocations: 0 / 0.5637 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Templates: time 0.003775/0.3833, allocations: 1.059 MB / 0.5648 GB, free: 31.58 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)