Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1976/0.1984, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001545/0.2, allocations: 0.9921 MB / 0.5951 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.2007, allocations: 283.2 kB / 0.5954 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.2007, allocations: 0 / 0.5954 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.2008, allocations: 7.938 kB / 0.5954 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.2008, allocations: 15.91 kB / 0.5954 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2011, allocations: 35.83 kB / 0.5954 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.2012, allocations: 15.94 kB / 0.5954 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.2013, allocations: 4 kB / 0.5954 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.2013, allocations: 15.91 kB / 0.5954 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.2014, allocations: 4 kB / 0.5954 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2014, allocations: 0 / 0.5954 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2015, allocations: 51.95 kB / 0.5955 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.2015, allocations: 8 kB / 0.5955 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.2016, allocations: 33.64 kB / 0.5955 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.2017, allocations: 52.16 kB / 0.5956 GB, free: 4.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2018, allocations: 3.938 kB / 0.5956 GB, free: 4.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2018, allocations: 0 / 0.5956 GB, free: 4.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.2018, allocations: 0 / 0.5956 GB, free: 4.059 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.0004015/0.2022, allocations: 339.5 kB / 0.5959 GB, free: 3.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2022, allocations: 8.031 kB / 0.5959 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.2025, allocations: 24.83 kB / 0.5959 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2026, allocations: 164.4 kB / 0.5961 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2026, allocations: 384 / 0.5961 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.2026, allocations: 4.375 kB / 0.5961 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.2028, allocations: 38.25 kB / 0.5961 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2028, allocations: 4.188 kB / 0.5961 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2028, allocations: 7.938 kB / 0.5962 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2028, allocations: 0 / 0.5962 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.2029, allocations: 15.94 kB / 0.5962 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.2031, allocations: 161.7 kB / 0.5963 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.2049, allocations: 274.5 kB / 0.5966 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.205, allocations: 20.84 kB / 0.5966 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.205, allocations: 0 / 0.5966 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.205, allocations: 30.56 kB / 0.5966 GB, free: 2.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/0.205, allocations: 7.984 kB / 0.5966 GB, free: 2.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.2052, allocations: 65.56 kB / 0.5967 GB, free: 2.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2053, allocations: 55.41 kB / 0.5968 GB, free: 2.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.2053, allocations: 93.86 kB / 0.5968 GB, free: 2.578 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2054, allocations: 25.7 kB / 0.5969 GB, free: 2.547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.2054, allocations: 80.14 kB / 0.5969 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2054, allocations: 19.8 kB / 0.597 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.2055, allocations: 9.719 kB / 0.597 GB, free: 2.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2056, allocations: 310.8 kB / 0.5973 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.2056, allocations: 8 kB / 0.5973 GB, free: 2.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.2056, allocations: 11.98 kB / 0.5973 GB, free: 2.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.2057, allocations: 28.92 kB / 0.5973 GB, free: 2.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2057, allocations: 4 kB / 0.5973 GB, free: 2.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/0.2058, allocations: 57.62 kB / 0.5974 GB, free: 2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2058, allocations: 4 kB / 0.5974 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2058, allocations: 7.938 kB / 0.5974 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2058, allocations: 0 / 0.5974 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.2059, allocations: 7.938 kB / 0.5974 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.2059, allocations: 0 / 0.5974 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.206, allocations: 3.938 kB / 0.5974 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.206, allocations: 4 kB / 0.5974 GB, free: 1.973 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 7.399e-05/0.206, allocations: 118.7 kB / 0.5975 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.2061, allocations: 0 / 0.5975 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.2061, allocations: 15.44 kB / 0.5975 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2061, allocations: 0 / 0.5975 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2061, allocations: 0 / 0.5975 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2061, allocations: 0 / 0.5975 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.2062, allocations: 157.6 kB / 0.5977 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2063, allocations: 0 / 0.5977 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.2063, allocations: 11.94 kB / 0.5977 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2063, allocations: 0 / 0.5977 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2063, allocations: 3.938 kB / 0.5977 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2063, allocations: 4 kB / 0.5977 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2063, allocations: 0 / 0.5977 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.2065, allocations: 77.12 kB / 0.5978 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.2065, allocations: 85.09 kB / 0.5979 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2066, allocations: 3.938 kB / 0.5979 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.2066, allocations: 0 / 0.5979 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.2066, allocations: 4 kB / 0.5979 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2067, allocations: 4 kB / 0.5979 GB, free: 1.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.2067, allocations: 75.28 kB / 0.5979 GB, free: 1.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2067, allocations: 0 / 0.5979 GB, free: 1.324 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.2069, allocations: 12 kB / 0.598 GB, free: 1.312 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 0.0001139/0.207, allocations: 103.2 kB / 0.5981 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.2071, allocations: 24.3 kB / 0.5981 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2071, allocations: 0 / 0.5981 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/0.2072, allocations: 12.09 kB / 0.5981 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.2074, allocations: 22.38 kB / 0.5981 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.2077, allocations: 132.6 kB / 0.5982 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.208, allocations: 0.6809 MB / 0.5989 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.2081, allocations: 11.98 kB / 0.5989 GB, free: 276 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.2081, allocations: 7.438 kB / 0.5989 GB, free: 268 kB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2081, allocations: 0 / 0.5989 GB, free: 268 kB / 446.1 MB Notification: Performance of Templates: time 0.00261/0.2107, allocations: 0.491 MB / 0.5994 GB, free: 15.79 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: