Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [/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.2474/0.2492, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003957/0.2532, allocations: 1.561 MB / 0.5912 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6289/0.8822, allocations: 129.9 MB / 0.7181 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.8824, allocations: 0 / 0.7181 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.8825, allocations: 2.719 kB / 0.7181 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.8826, allocations: 10.38 kB / 0.7181 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.8831, allocations: 57.59 kB / 0.7181 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.8832, allocations: 60.09 kB / 0.7182 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.8834, allocations: 12.28 kB / 0.7182 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.8834, allocations: 16.95 kB / 0.7182 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.8835, allocations: 23.89 kB / 0.7182 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.8835, allocations: 2.906 kB / 0.7183 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.8836, allocations: 16.95 kB / 0.7183 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.8836, allocations: 9.953 kB / 0.7183 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.8837, allocations: 18.48 kB / 0.7183 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.8839, allocations: 66.7 kB / 0.7184 GB, free: 268 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.8839, allocations: 0 / 0.7184 GB, free: 268 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8839, allocations: 0 / 0.7184 GB, free: 268 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8839, allocations: 0 / 0.7184 GB, free: 268 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007973/0.8847, allocations: 379.9 kB / 0.7187 GB, free: 15.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.204e-05/0.8848, allocations: 8.656 kB / 0.7187 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.8848, allocations: 3.625 kB / 0.7187 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.8851, allocations: 177.5 kB / 0.7189 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.8851, allocations: 4.375 kB / 0.7189 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.8851, allocations: 6.812 kB / 0.7189 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.8855, allocations: 70.25 kB / 0.719 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.8855, allocations: 2.859 kB / 0.719 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.8855, allocations: 3.938 kB / 0.719 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.8855, allocations: 3 kB / 0.719 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.8859, allocations: 73.06 kB / 0.7191 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.8864, allocations: 284.8 kB / 0.7193 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.8866, allocations: 55.12 kB / 0.7194 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.8868, allocations: 42.22 kB / 0.7194 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.887, allocations: 90.16 kB / 0.7195 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.8871, allocations: 30.56 kB / 0.7195 GB, free: 15.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.8871, allocations: 3.938 kB / 0.7195 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005772/0.8877, allocations: 136.7 kB / 0.7197 GB, free: 15.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.8878, allocations: 52.16 kB / 0.7197 GB, free: 15.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.8879, allocations: 117.8 kB / 0.7198 GB, free: 15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.8879, allocations: 25.7 kB / 0.7199 GB, free: 14.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.888, allocations: 88.66 kB / 0.7199 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.888, allocations: 7.594 kB / 0.72 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.8881, allocations: 16.97 kB / 0.72 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8882, allocations: 322.7 kB / 0.7203 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.8883, allocations: 31.14 kB / 0.7203 GB, free: 14.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.8885, allocations: 37.59 kB / 0.7203 GB, free: 14.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.8887, allocations: 78.92 kB / 0.7204 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8887, allocations: 1.891 kB / 0.7204 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003001/0.889, allocations: 99.34 kB / 0.7205 GB, free: 14.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8891, allocations: 5.469 kB / 0.7205 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8891, allocations: 0 / 0.7205 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8891, allocations: 0 / 0.7205 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.8892, allocations: 19.31 kB / 0.7205 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.8892, allocations: 0 / 0.7205 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.8893, allocations: 17.34 kB / 0.7206 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.8894, allocations: 0 / 0.7206 GB, free: 14.48 MB / 0.545 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 0.0001412/0.8895, allocations: 117.1 kB / 0.7207 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.8895, allocations: 3.188 kB / 0.7207 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.8899, allocations: 116.1 kB / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.8899, allocations: 0 / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.8899, allocations: 2.562 kB / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.89, allocations: 1.969 kB / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.8902, allocations: 176.1 kB / 0.721 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8902, allocations: 0 / 0.721 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.8903, allocations: 14.92 kB / 0.721 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8903, allocations: 4 kB / 0.721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8903, allocations: 2.719 kB / 0.721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.8903, allocations: 2.625 kB / 0.721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8903, allocations: 0 / 0.721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.8907, allocations: 196.2 kB / 0.7212 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.8908, allocations: 91.11 kB / 0.7212 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.8908, allocations: 3.562 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.8909, allocations: 11.31 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.891, allocations: 4.875 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.891, allocations: 0 / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.891, allocations: 93.86 kB / 0.7214 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.891, allocations: 1.203 kB / 0.7214 GB, free: 13.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002383/0.8913, allocations: 13.75 kB / 0.7214 GB, free: 13.81 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.0002021/0.8915, allocations: 108.1 kB / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.8918, allocations: 66.98 kB / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8919, allocations: 0 / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.892, allocations: 39.92 kB / 0.7216 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.8924, allocations: 20.7 kB / 0.7216 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.8929, allocations: 168 kB / 0.7218 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.8933, allocations: 0.6834 MB / 0.7224 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.8934, allocations: 9.406 kB / 0.7224 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.8934, allocations: 10.66 kB / 0.7224 GB, free: 12.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.8934, allocations: 0 / 0.7224 GB, free: 12.87 MB / 0.545 GB Notification: Performance of Templates: time 0.004243/0.8977, allocations: 0.8512 MB / 0.7233 GB, free: 12.8 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)