Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [/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.1975/0.1996, allocations: 80.84 MB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002822/0.2025, allocations: 1.28 MB / 0.6719 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7115/0.914, allocations: 147.6 MB / 0.816 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.9141, allocations: 0 / 0.816 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.9142, allocations: 4 kB / 0.816 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.9142, allocations: 7.75 kB / 0.816 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.9148, allocations: 115.2 kB / 0.8161 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.9149, allocations: 20.69 kB / 0.8162 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.9149, allocations: 3.234 kB / 0.8162 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.915, allocations: 8.438 kB / 0.8162 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.915, allocations: 9.922 kB / 0.8162 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.915, allocations: 0 / 0.8162 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.9155, allocations: 181.2 kB / 0.8164 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.9155, allocations: 0 / 0.8164 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.9155, allocations: 9.062 kB / 0.8164 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.9158, allocations: 108.6 kB / 0.8165 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9158, allocations: 1.156 kB / 0.8165 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9158, allocations: 0 / 0.8165 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9158, allocations: 0 / 0.8165 GB, free: 8.578 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000409/0.9163, allocations: 350.5 kB / 0.8168 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.9163, allocations: 15.22 kB / 0.8168 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.9169, allocations: 40.91 kB / 0.8169 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.917, allocations: 172.5 kB / 0.817 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.917, allocations: 1.094 kB / 0.817 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.917, allocations: 1.125 kB / 0.817 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.9172, allocations: 46.44 kB / 0.8171 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9172, allocations: 5.828 kB / 0.8171 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.9172, allocations: 0 / 0.8171 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.9173, allocations: 4.984 kB / 0.8171 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.9174, allocations: 19.42 kB / 0.8171 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.9177, allocations: 251.4 kB / 0.8173 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.9178, allocations: 29.92 kB / 0.8174 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.9178, allocations: 11.17 kB / 0.8174 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.9179, allocations: 5.312 kB / 0.8174 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.9179, allocations: 35.38 kB / 0.8174 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9179, allocations: 1.125 kB / 0.8174 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.9181, allocations: 44.69 kB / 0.8175 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.9181, allocations: 51.41 kB / 0.8175 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.9183, allocations: 117.6 kB / 0.8176 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.9183, allocations: 27.08 kB / 0.8176 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.9184, allocations: 91.34 kB / 0.8177 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.9184, allocations: 5.328 kB / 0.8177 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.9184, allocations: 18.95 kB / 0.8178 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9186, allocations: 317.5 kB / 0.8181 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.9187, allocations: 7.875 kB / 0.8181 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.9187, allocations: 13.61 kB / 0.8181 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.9188, allocations: 21.52 kB / 0.8181 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9188, allocations: 2.781 kB / 0.8181 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001838/0.919, allocations: 58.89 kB / 0.8182 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.919, allocations: 5.312 kB / 0.8182 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.919, allocations: 0 / 0.8182 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.9191, allocations: 5.125 kB / 0.8182 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.9192, allocations: 13.7 kB / 0.8182 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.9192, allocations: 5.312 kB / 0.8182 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.9193, allocations: 7.781 kB / 0.8182 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.9193, allocations: 0 / 0.8182 GB, free: 6.898 MB / 0.5919 GB 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 (3): * Single equations (assignments): 3 * 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 8.184e-05/0.9194, allocations: 114.9 kB / 0.8183 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.9195, allocations: 5.422 kB / 0.8183 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.9195, allocations: 10.69 kB / 0.8183 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9195, allocations: 3.938 kB / 0.8183 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9195, allocations: 4.656 kB / 0.8183 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9195, allocations: 1.062 kB / 0.8183 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.9197, allocations: 149 kB / 0.8185 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.9197, allocations: 0 / 0.8185 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.9197, allocations: 8.516 kB / 0.8185 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.9197, allocations: 1.375 kB / 0.8185 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.9198, allocations: 0 / 0.8185 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9198, allocations: 1.344 kB / 0.8185 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9198, allocations: 7.938 kB / 0.8185 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.9199, allocations: 138.2 kB / 0.8186 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.92, allocations: 80.64 kB / 0.8187 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.92, allocations: 1.094 kB / 0.8187 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.9201, allocations: 4.141 kB / 0.8187 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.9201, allocations: 5.125 kB / 0.8187 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.9201, allocations: 3.234 kB / 0.8187 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.72e-05/0.9202, allocations: 98.69 kB / 0.8188 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9202, allocations: 0 / 0.8188 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002619/0.9205, allocations: 19.91 kB / 0.8188 GB, free: 6.242 MB / 0.5919 GB 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 (2): * Single equations (assignments): 2 * 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.0002115/0.9207, allocations: 108.5 kB / 0.8189 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.9209, allocations: 20.09 kB / 0.8189 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9209, allocations: 5.281 kB / 0.819 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.9209, allocations: 6.625 kB / 0.819 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.9213, allocations: 8.25 kB / 0.819 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.9216, allocations: 116.3 kB / 0.8191 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.922, allocations: 0.6747 MB / 0.8197 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.922, allocations: 11.34 kB / 0.8197 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.9221, allocations: 9.625 kB / 0.8198 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.9221, allocations: 4 kB / 0.8198 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of Templates: time 0.003631/0.9257, allocations: 0.7466 MB / 0.8205 GB, free: 5.062 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)