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.001553/0.001553, allocations: 108.8 kB / 15.99 MB, free: 6.332 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.001344/0.001344, allocations: 197.2 kB / 16.91 MB, free: 6.18 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 / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7813/0.7813, allocations: 126.1 MB / 416.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.89 kB / 0.4945 GB, free: 3.887 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4755, allocations: 78.7 MB / 0.5713 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002695/0.4782, allocations: 1.313 MB / 0.5726 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.4788, allocations: 292.7 kB / 0.5729 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.4788, allocations: 0.5 kB / 0.5729 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.4788, allocations: 0.7031 kB / 0.5729 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.4789, allocations: 2.625 kB / 0.5729 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.4793, allocations: 50.5 kB / 0.5729 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.4793, allocations: 19.83 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.4794, allocations: 1.719 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.4794, allocations: 7.062 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.4795, allocations: 8.688 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4795, allocations: 1.031 kB / 0.573 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.4797, allocations: 53.59 kB / 0.573 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.4797, allocations: 6.766 kB / 0.573 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.4797, allocations: 12.97 kB / 0.573 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.4799, allocations: 43.28 kB / 0.5731 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4799, allocations: 0 / 0.5731 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4799, allocations: 0.8438 kB / 0.5731 GB, free: 29.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4799, allocations: 5.312 kB / 0.5731 GB, free: 29.37 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.000333/0.4802, allocations: 336.6 kB / 0.5734 GB, free: 29.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4803, allocations: 9.375 kB / 0.5734 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.4805, allocations: 21.83 kB / 0.5734 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.4806, allocations: 165.8 kB / 0.5736 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4806, allocations: 1.562 kB / 0.5736 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4807, allocations: 9.5 kB / 0.5736 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.4808, allocations: 41.53 kB / 0.5737 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4808, allocations: 4.125 kB / 0.5737 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4808, allocations: 4.969 kB / 0.5737 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4808, allocations: 4.594 kB / 0.5737 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.4809, allocations: 14.8 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.481, allocations: 157.6 kB / 0.5738 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.483, allocations: 270.9 kB / 0.5741 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.483, allocations: 20.31 kB / 0.5741 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4831, allocations: 2.312 kB / 0.5741 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4831, allocations: 32.27 kB / 0.5741 GB, free: 28.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.4831, allocations: 0.9688 kB / 0.5741 GB, free: 28.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.4833, allocations: 64.88 kB / 0.5742 GB, free: 28.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.4833, allocations: 54.25 kB / 0.5743 GB, free: 28.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.182e-05/0.4834, allocations: 91.75 kB / 0.5743 GB, free: 28.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.4834, allocations: 33.55 kB / 0.5744 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.4834, allocations: 80.94 kB / 0.5745 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.4835, allocations: 13.5 kB / 0.5745 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.4835, allocations: 21.72 kB / 0.5745 GB, free: 28.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.4836, allocations: 315.9 kB / 0.5748 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.4836, allocations: 10.06 kB / 0.5748 GB, free: 27.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.4836, allocations: 5.297 kB / 0.5748 GB, free: 27.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.4837, allocations: 29.69 kB / 0.5748 GB, free: 27.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4837, allocations: 1.094 kB / 0.5748 GB, free: 27.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.721e-05/0.4838, allocations: 55.52 kB / 0.5749 GB, free: 27.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4838, allocations: 5.562 kB / 0.5749 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4838, allocations: 4.969 kB / 0.5749 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4839, allocations: 0.7812 kB / 0.5749 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.4839, allocations: 10.56 kB / 0.5749 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4839, allocations: 2 kB / 0.5749 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.484, allocations: 5.25 kB / 0.5749 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.484, allocations: 1.141 kB / 0.5749 GB, free: 27.72 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 5.251e-05/0.484, allocations: 110.7 kB / 0.575 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.4841, allocations: 1.531 kB / 0.575 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.4841, allocations: 13.41 kB / 0.575 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4841, allocations: 0.6562 kB / 0.575 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4841, allocations: 9.188 kB / 0.575 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4841, allocations: 0 / 0.575 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.862e-05/0.4842, allocations: 155 kB / 0.5752 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4842, allocations: 0.5938 kB / 0.5752 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.4843, allocations: 6.547 kB / 0.5752 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4843, allocations: 2.438 kB / 0.5752 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4843, allocations: 7.938 kB / 0.5752 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4843, allocations: 1.891 kB / 0.5752 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4843, allocations: 1 kB / 0.5752 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.4844, allocations: 84.81 kB / 0.5753 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.4845, allocations: 80.2 kB / 0.5754 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4845, allocations: 6.859 kB / 0.5754 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.4846, allocations: 2.094 kB / 0.5754 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.4846, allocations: 6.969 kB / 0.5754 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4846, allocations: 1.281 kB / 0.5754 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.852e-05/0.4846, allocations: 78.89 kB / 0.5755 GB, free: 27.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4846, allocations: 0 / 0.5755 GB, free: 27.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.4848, allocations: 5.656 kB / 0.5755 GB, free: 27.13 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 9.165e-05/0.4849, allocations: 96.91 kB / 0.5756 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.485, allocations: 30.97 kB / 0.5756 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.485, allocations: 0 / 0.5756 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.4851, allocations: 14.98 kB / 0.5756 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.4853, allocations: 16.11 kB / 0.5756 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.4857, allocations: 128.7 kB / 0.5757 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.4858, allocations: 0.6772 MB / 0.5764 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.404e-05/0.4859, allocations: 4.469 kB / 0.5764 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.4859, allocations: 8.75 kB / 0.5764 GB, free: 26.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4859, allocations: 0.9688 kB / 0.5764 GB, free: 26.2 MB / 446.1 MB Notification: Performance of Templates: time 0.002623/0.4885, allocations: 0.5124 MB / 0.5769 GB, free: 26.14 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)