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.001085/0.001085, allocations: 108.1 kB / 17.02 MB, free: 6.121 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.001192/0.001192, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6754/0.6754, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 55.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3122, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002159/0.3144, allocations: 1.257 MB / 0.5588 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004956/0.3149, allocations: 304.1 kB / 0.5591 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.3149, allocations: 0 / 0.5591 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.315, allocations: 1.125 kB / 0.5591 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.315, allocations: 3.938 kB / 0.5591 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3153, allocations: 48.41 kB / 0.5591 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.3154, allocations: 22.44 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.3154, allocations: 2.812 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.3154, allocations: 5.375 kB / 0.5592 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.3155, allocations: 13.53 kB / 0.5592 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.3155, allocations: 0 / 0.5592 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3156, allocations: 54.27 kB / 0.5592 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.3157, allocations: 2.75 kB / 0.5592 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.3157, allocations: 8.297 kB / 0.5592 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3158, allocations: 48.81 kB / 0.5593 GB, free: 35.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3158, allocations: 0 / 0.5593 GB, free: 35.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3158, allocations: 0 / 0.5593 GB, free: 35.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3159, allocations: 0 / 0.5593 GB, free: 35.53 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.0002874/0.3161, allocations: 336.8 kB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3162, allocations: 10.38 kB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.3164, allocations: 22.59 kB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.175e-05/0.3165, allocations: 163.4 kB / 0.5598 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3165, allocations: 3.281 kB / 0.5598 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.3165, allocations: 1.906 kB / 0.5598 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3166, allocations: 46.08 kB / 0.5598 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3166, allocations: 192 / 0.5598 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3167, allocations: 6.812 kB / 0.5598 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3167, allocations: 0.9844 kB / 0.5598 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.3167, allocations: 20.11 kB / 0.5599 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.3169, allocations: 159 kB / 0.56 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3186, allocations: 263.1 kB / 0.5603 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.3187, allocations: 24.95 kB / 0.5603 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3187, allocations: 4.5 kB / 0.5603 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.3187, allocations: 33.64 kB / 0.5603 GB, free: 34.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3187, allocations: 0 / 0.5603 GB, free: 34.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001571/0.3189, allocations: 70.05 kB / 0.5604 GB, free: 34.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.3189, allocations: 56.06 kB / 0.5604 GB, free: 34.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.572e-05/0.3189, allocations: 92.17 kB / 0.5605 GB, free: 34.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.319, allocations: 27.7 kB / 0.5606 GB, free: 34.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.071e-05/0.319, allocations: 80.14 kB / 0.5606 GB, free: 34.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.319, allocations: 14.45 kB / 0.5606 GB, free: 34.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.319, allocations: 22.16 kB / 0.5607 GB, free: 34.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3191, allocations: 313.7 kB / 0.561 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.3191, allocations: 14.09 kB / 0.561 GB, free: 33.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.3191, allocations: 10.03 kB / 0.561 GB, free: 33.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.3192, allocations: 26.88 kB / 0.561 GB, free: 33.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3192, allocations: 0.5938 kB / 0.561 GB, free: 33.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.001e-05/0.3193, allocations: 57.7 kB / 0.5611 GB, free: 33.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3193, allocations: 5.094 kB / 0.5611 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3193, allocations: 4.906 kB / 0.5611 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3193, allocations: 2 kB / 0.5611 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.3194, allocations: 6.422 kB / 0.5611 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.3194, allocations: 5.094 kB / 0.5611 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.3194, allocations: 1 kB / 0.5611 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3194, allocations: 1.406 kB / 0.5611 GB, free: 33.89 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.886e-05/0.3195, allocations: 113 kB / 0.5612 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.3195, allocations: 2.703 kB / 0.5612 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.3195, allocations: 12.75 kB / 0.5612 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3196, allocations: 1.125 kB / 0.5612 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3196, allocations: 0.5625 kB / 0.5612 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3196, allocations: 3.094 kB / 0.5612 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.673e-05/0.3196, allocations: 161.2 kB / 0.5614 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3196, allocations: 0.6562 kB / 0.5614 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3197, allocations: 7.156 kB / 0.5614 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3197, allocations: 5.062 kB / 0.5614 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3197, allocations: 6.328 kB / 0.5614 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3197, allocations: 1.281 kB / 0.5614 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3197, allocations: 0 / 0.5614 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.358e-05/0.3198, allocations: 80.64 kB / 0.5615 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.3199, allocations: 88.05 kB / 0.5616 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.3199, allocations: 5.969 kB / 0.5616 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.3199, allocations: 2.312 kB / 0.5616 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.32, allocations: 2.984 kB / 0.5616 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.32, allocations: 1.094 kB / 0.5616 GB, free: 33.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.32, allocations: 77.59 kB / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.32, allocations: 1.094 kB / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001766/0.3202, allocations: 7.219 kB / 0.5617 GB, free: 33.3 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 8.143e-05/0.3203, allocations: 100.1 kB / 0.5617 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.3204, allocations: 23.41 kB / 0.5618 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3204, allocations: 0 / 0.5618 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.3204, allocations: 20.59 kB / 0.5618 GB, free: 33.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.3206, allocations: 20.28 kB / 0.5618 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.3209, allocations: 118.4 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.321, allocations: 0.6765 MB / 0.5626 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.3211, allocations: 3.969 kB / 0.5626 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.3211, allocations: 9.094 kB / 0.5626 GB, free: 32.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3211, allocations: 0 / 0.5626 GB, free: 32.38 MB / 446.1 MB Notification: Performance of Templates: time 0.002295/0.3234, allocations: 0.5099 MB / 0.5631 GB, free: 32.33 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)