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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.00108, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5104/0.5104, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 115.3 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 55.91 kB / 0.4891 GB, free: 7.668 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3759, allocations: 70.05 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002366/0.3783, allocations: 1.316 MB / 0.5588 GB, free: 43.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000561/0.3789, allocations: 308.7 kB / 0.5591 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.3789, allocations: 0 / 0.5591 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.3789, allocations: 0 / 0.5591 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.379, allocations: 5.031 kB / 0.5591 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.3792, allocations: 41.61 kB / 0.5591 GB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.3793, allocations: 19.92 kB / 0.5591 GB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3793, allocations: 0 / 0.5591 GB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.3794, allocations: 11.92 kB / 0.5591 GB, free: 43.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.3794, allocations: 8 kB / 0.5592 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3794, allocations: 0 / 0.5592 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3795, allocations: 55.95 kB / 0.5592 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.3796, allocations: 7.156 kB / 0.5592 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.3796, allocations: 11.92 kB / 0.5592 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3797, allocations: 46 kB / 0.5593 GB, free: 43.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3797, allocations: 4 kB / 0.5593 GB, free: 43.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3797, allocations: 0 / 0.5593 GB, free: 43.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3797, allocations: 0 / 0.5593 GB, free: 43.37 MB / 410.7 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.0003239/0.3801, allocations: 340.1 kB / 0.5596 GB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3801, allocations: 8.031 kB / 0.5596 GB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3803, allocations: 32.84 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/0.3804, allocations: 160.4 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3804, allocations: 4.312 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3804, allocations: 4.375 kB / 0.5598 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3806, allocations: 38.25 kB / 0.5598 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3806, allocations: 192 / 0.5598 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3806, allocations: 7.938 kB / 0.5598 GB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3806, allocations: 0 / 0.5598 GB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.3807, allocations: 19.98 kB / 0.5599 GB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.3808, allocations: 157.7 kB / 0.56 GB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.3825, allocations: 274.3 kB / 0.5603 GB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.3826, allocations: 20.86 kB / 0.5603 GB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3826, allocations: 0 / 0.5603 GB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.3826, allocations: 30.56 kB / 0.5603 GB, free: 42.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3826, allocations: 0 / 0.5603 GB, free: 42.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001388/0.3828, allocations: 69.56 kB / 0.5604 GB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.3828, allocations: 51.41 kB / 0.5604 GB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.185e-05/0.3828, allocations: 101.8 kB / 0.5605 GB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.3828, allocations: 25.7 kB / 0.5606 GB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.152e-05/0.3829, allocations: 80.14 kB / 0.5606 GB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3829, allocations: 15.75 kB / 0.5607 GB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.3829, allocations: 13.72 kB / 0.5607 GB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.383, allocations: 310.8 kB / 0.561 GB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.383, allocations: 15.98 kB / 0.561 GB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.383, allocations: 8 kB / 0.561 GB, free: 41.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.3831, allocations: 32.92 kB / 0.561 GB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3831, allocations: 0 / 0.561 GB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.383e-05/0.3831, allocations: 57.62 kB / 0.5611 GB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3832, allocations: 4 kB / 0.5611 GB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3832, allocations: 3.938 kB / 0.5611 GB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3832, allocations: 0 / 0.5611 GB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.3833, allocations: 7.984 kB / 0.5611 GB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3833, allocations: 4 kB / 0.5611 GB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.3833, allocations: 0 / 0.5611 GB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.3833, allocations: 0 / 0.5611 GB, free: 41.28 MB / 410.7 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.741e-05/0.3834, allocations: 113.8 kB / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.3834, allocations: 4 kB / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.3834, allocations: 11.44 kB / 0.5612 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3834, allocations: 0 / 0.5612 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3834, allocations: 0 / 0.5612 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3834, allocations: 0 / 0.5612 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.768e-05/0.3835, allocations: 165.6 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3835, allocations: 0 / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.3836, allocations: 4 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3836, allocations: 3.938 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3836, allocations: 11.92 kB / 0.5614 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3836, allocations: 0 / 0.5614 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3836, allocations: 3.938 kB / 0.5614 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.3838, allocations: 0.6361 MB / 0.562 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.3839, allocations: 77.11 kB / 0.5621 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.3839, allocations: 4 kB / 0.5621 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.3839, allocations: 8 kB / 0.5621 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.384, allocations: 7.969 kB / 0.5621 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.384, allocations: 4 kB / 0.5621 GB, free: 40.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.574e-05/0.384, allocations: 75.28 kB / 0.5622 GB, free: 40.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.384, allocations: 0 / 0.5622 GB, free: 40.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.3843, allocations: 4 kB / 0.5622 GB, free: 40.02 MB / 410.7 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.704e-05/0.3844, allocations: 95.25 kB / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.3845, allocations: 32.08 kB / 0.5623 GB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3845, allocations: 3.938 kB / 0.5623 GB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.3845, allocations: 15.94 kB / 0.5623 GB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.3848, allocations: 15.92 kB / 0.5623 GB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3851, allocations: 231.2 kB / 0.5626 GB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3852, allocations: 0.6825 MB / 0.5632 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.054e-05/0.3853, allocations: 0 / 0.5632 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.3853, allocations: 11.44 kB / 0.5632 GB, free: 38.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3853, allocations: 0 / 0.5632 GB, free: 38.86 MB / 410.7 MB Notification: Performance of Templates: time 0.002075/0.3874, allocations: 0.5021 MB / 0.5637 GB, free: 38.37 MB / 410.7 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)