Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008719/0.000872, allocations: 93.45 kB / 16.67 MB, free: 6.109 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.001056/0.001056, allocations: 181.8 kB / 17.58 MB, free: 5.82 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.321/1.321, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004718, allocations: 12 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3594, allocations: 77.52 MB / 0.5606 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001046/0.3604, allocations: 0.9875 MB / 0.5615 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000505/0.361, allocations: 291.1 kB / 0.5618 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.262e-05/0.361, allocations: 0 / 0.5618 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.361, allocations: 3.938 kB / 0.5618 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.3611, allocations: 6.828 kB / 0.5618 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.3613, allocations: 45.23 kB / 0.5619 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.326e-05/0.3613, allocations: 18 kB / 0.5619 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.3614, allocations: 1.188 kB / 0.5619 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.3614, allocations: 4.75 kB / 0.5619 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.3615, allocations: 9.312 kB / 0.5619 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3615, allocations: 0 / 0.5619 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3616, allocations: 56.89 kB / 0.562 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3616, allocations: 3.984 kB / 0.562 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.3616, allocations: 38.95 kB / 0.562 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.555e-05/0.3617, allocations: 32.86 kB / 0.562 GB, free: 34.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3617, allocations: 0 / 0.562 GB, free: 34.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3617, allocations: 1.344 kB / 0.562 GB, free: 34.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3618, allocations: 1.312 kB / 0.562 GB, free: 34.4 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.0002527/0.362, allocations: 332 kB / 0.5624 GB, free: 34.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3621, allocations: 13.88 kB / 0.5624 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.3623, allocations: 23.58 kB / 0.5624 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.199e-05/0.3623, allocations: 162.5 kB / 0.5625 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.3623, allocations: 384 / 0.5625 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3624, allocations: 3.422 kB / 0.5625 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.301e-05/0.3625, allocations: 45.97 kB / 0.5626 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.3625, allocations: 0.6875 kB / 0.5626 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.3625, allocations: 5.75 kB / 0.5626 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3625, allocations: 1.031 kB / 0.5626 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.3626, allocations: 18 kB / 0.5626 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.3627, allocations: 151.9 kB / 0.5628 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.3645, allocations: 279.1 kB / 0.563 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.3645, allocations: 16.77 kB / 0.563 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.3645, allocations: 2.844 kB / 0.563 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.3646, allocations: 37.16 kB / 0.5631 GB, free: 33.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3646, allocations: 2.25 kB / 0.5631 GB, free: 33.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001499/0.3647, allocations: 71.95 kB / 0.5632 GB, free: 33.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.3648, allocations: 54.75 kB / 0.5632 GB, free: 33.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.754e-05/0.3648, allocations: 91.02 kB / 0.5633 GB, free: 33.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3648, allocations: 26.83 kB / 0.5633 GB, free: 33.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.208e-05/0.3648, allocations: 89.05 kB / 0.5634 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.3649, allocations: 15.47 kB / 0.5634 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.3649, allocations: 11.56 kB / 0.5634 GB, free: 33.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.365, allocations: 319.4 kB / 0.5637 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.365, allocations: 6.188 kB / 0.5637 GB, free: 32.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.365, allocations: 11.83 kB / 0.5638 GB, free: 32.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.3651, allocations: 31.48 kB / 0.5638 GB, free: 32.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3651, allocations: 0 / 0.5638 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.27e-05/0.3651, allocations: 59.97 kB / 0.5638 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3652, allocations: 5.75 kB / 0.5638 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3652, allocations: 3.938 kB / 0.5638 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3652, allocations: 2.969 kB / 0.5639 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.3652, allocations: 6.375 kB / 0.5639 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3653, allocations: 0 / 0.5639 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.3653, allocations: 2.891 kB / 0.5639 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3653, allocations: 1.188 kB / 0.5639 GB, free: 32.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.428e-05/0.3653, allocations: 112.6 kB / 0.564 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.3654, allocations: 2.438 kB / 0.564 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3654, allocations: 12.75 kB / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3654, allocations: 2.938 kB / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3654, allocations: 0 / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3654, allocations: 1.031 kB / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.427e-05/0.3655, allocations: 155.4 kB / 0.5641 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3655, allocations: 0 / 0.5641 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.3655, allocations: 6.312 kB / 0.5641 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3655, allocations: 2.969 kB / 0.5641 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3656, allocations: 3.938 kB / 0.5641 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3656, allocations: 1.469 kB / 0.5641 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3656, allocations: 3.938 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.99e-05/0.3657, allocations: 80.61 kB / 0.5642 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.3657, allocations: 79.3 kB / 0.5643 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.3657, allocations: 5.812 kB / 0.5643 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.3658, allocations: 4.688 kB / 0.5643 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.3658, allocations: 2.375 kB / 0.5643 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-06/0.3658, allocations: 5.25 kB / 0.5643 GB, free: 32.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.592e-05/0.3658, allocations: 76.22 kB / 0.5644 GB, free: 32.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3658, allocations: 1.219 kB / 0.5644 GB, free: 32.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001833/0.366, allocations: 9.75 kB / 0.5644 GB, free: 32.16 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 7.912e-05/0.3661, allocations: 96 kB / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.082e-05/0.3662, allocations: 29.27 kB / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3662, allocations: 0 / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.3662, allocations: 12.66 kB / 0.5645 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3664, allocations: 13.16 kB / 0.5645 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.3667, allocations: 162.5 kB / 0.5647 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.3668, allocations: 0.6792 MB / 0.5654 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.3668, allocations: 9.812 kB / 0.5654 GB, free: 31.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3669, allocations: 4.719 kB / 0.5654 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Templates: time 0.00191/0.3688, allocations: 0.5241 MB / 0.5659 GB, free: 31.18 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)