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.1988/0.1995, allocations: 82.21 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001521/0.201, allocations: 0.9706 MB / 0.5943 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005382/0.2016, allocations: 255.5 kB / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.2016, allocations: 0 / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.2017, allocations: 0 / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.2017, allocations: 11.92 kB / 0.5946 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.202, allocations: 47.8 kB / 0.5946 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.214e-05/0.2021, allocations: 15.97 kB / 0.5946 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.2021, allocations: 4 kB / 0.5946 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.2022, allocations: 4 kB / 0.5946 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.2022, allocations: 11.94 kB / 0.5946 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2022, allocations: 0 / 0.5946 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.2024, allocations: 59.94 kB / 0.5947 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.2024, allocations: 3.984 kB / 0.5947 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.2024, allocations: 29.7 kB / 0.5947 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.2026, allocations: 32.2 kB / 0.5948 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2026, allocations: 0 / 0.5948 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.2026, allocations: 4 kB / 0.5948 GB, free: 4.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2026, allocations: 4 kB / 0.5948 GB, free: 4.547 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.0004038/0.203, allocations: 334.4 kB / 0.5951 GB, free: 4.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2031, allocations: 8.031 kB / 0.5951 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.2033, allocations: 23.88 kB / 0.5951 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2035, allocations: 163 kB / 0.5953 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2035, allocations: 4 kB / 0.5953 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2035, allocations: 7.953 kB / 0.5953 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2037, allocations: 45.69 kB / 0.5953 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2037, allocations: 0 / 0.5953 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2037, allocations: 0 / 0.5953 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2037, allocations: 0 / 0.5953 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.2038, allocations: 15.98 kB / 0.5953 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.204, allocations: 153.7 kB / 0.5955 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.2058, allocations: 278.4 kB / 0.5958 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.2058, allocations: 0 / 0.5958 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2058, allocations: 34.52 kB / 0.5958 GB, free: 3.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2058, allocations: 0 / 0.5958 GB, free: 3.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.206, allocations: 65.78 kB / 0.5959 GB, free: 3.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2061, allocations: 51.41 kB / 0.5959 GB, free: 3.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.2061, allocations: 97.84 kB / 0.596 GB, free: 3.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2062, allocations: 29.64 kB / 0.596 GB, free: 3.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.2062, allocations: 84.14 kB / 0.5961 GB, free: 2.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.2062, allocations: 7.812 kB / 0.5961 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.2062, allocations: 0 / 0.5961 GB, free: 2.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2064, allocations: 318.8 kB / 0.5964 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.2064, allocations: 12.12 kB / 0.5964 GB, free: 2.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.2064, allocations: 12.17 kB / 0.5964 GB, free: 2.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.2065, allocations: 12.08 kB / 0.5965 GB, free: 2.621 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2065, allocations: 0 / 0.5965 GB, free: 2.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.658e-05/0.2065, allocations: 57.62 kB / 0.5965 GB, free: 2.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2066, allocations: 7.953 kB / 0.5965 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2066, allocations: 0 / 0.5965 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2066, allocations: 4 kB / 0.5965 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.2067, allocations: 7.938 kB / 0.5965 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2067, allocations: 7.922 kB / 0.5965 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.815e-05/0.2067, allocations: 7.938 kB / 0.5965 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.2067, allocations: 4 kB / 0.5965 GB, free: 2.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.2068, allocations: 109.8 kB / 0.5966 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.2068, allocations: 0 / 0.5966 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.2069, allocations: 15.44 kB / 0.5967 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2069, allocations: 4 kB / 0.5967 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2069, allocations: 0 / 0.5967 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2069, allocations: 0 / 0.5967 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.207, allocations: 165.6 kB / 0.5968 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.207, allocations: 4 kB / 0.5968 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.2071, allocations: 4 kB / 0.5968 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2071, allocations: 4 kB / 0.5968 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2071, allocations: 4 kB / 0.5968 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2071, allocations: 3.953 kB / 0.5968 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2071, allocations: 0 / 0.5968 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.2072, allocations: 77.06 kB / 0.5969 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.2073, allocations: 85.09 kB / 0.597 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.2073, allocations: 4 kB / 0.597 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.2074, allocations: 4 kB / 0.597 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.2074, allocations: 3.953 kB / 0.597 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.2074, allocations: 4 kB / 0.597 GB, free: 1.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.2074, allocations: 75.28 kB / 0.5971 GB, free: 1.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2074, allocations: 0 / 0.5971 GB, free: 1.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001767/0.2076, allocations: 8 kB / 0.5971 GB, free: 1.855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.2078, allocations: 101.5 kB / 0.5972 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.2079, allocations: 24.09 kB / 0.5972 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2079, allocations: 0 / 0.5972 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.2079, allocations: 19.92 kB / 0.5972 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.2081, allocations: 4 kB / 0.5972 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.2084, allocations: 140.5 kB / 0.5974 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2087, allocations: 0.677 MB / 0.598 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.2088, allocations: 4 kB / 0.598 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2088, allocations: 11.38 kB / 0.598 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2088, allocations: 4 kB / 0.598 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of Templates: time 0.002529/0.2114, allocations: 481 kB / 0.5985 GB, free: 372 kB / 446.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: