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.1977/0.2, allocations: 80.83 MB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00275/0.2028, allocations: 1.489 MB / 0.6721 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.698/0.9008, allocations: 132.1 MB / 0.801 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.455e-05/0.9009, allocations: 1.25 kB / 0.801 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.765e-05/0.901, allocations: 6.141 kB / 0.801 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.9011, allocations: 15.64 kB / 0.8011 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.9017, allocations: 62.97 kB / 0.8011 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.9018, allocations: 53.39 kB / 0.8012 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.9019, allocations: 22.91 kB / 0.8012 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.902, allocations: 19.31 kB / 0.8012 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.9021, allocations: 22.5 kB / 0.8012 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.9021, allocations: 4.719 kB / 0.8012 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.9022, allocations: 16.39 kB / 0.8013 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.9023, allocations: 10.88 kB / 0.8013 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.9023, allocations: 28.73 kB / 0.8013 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.9025, allocations: 52.42 kB / 0.8013 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.9025, allocations: 0 / 0.8013 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9025, allocations: 3.938 kB / 0.8013 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9026, allocations: 1.312 kB / 0.8013 GB, free: 12.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007671/0.9033, allocations: 375.5 kB / 0.8017 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.9034, allocations: 10.88 kB / 0.8017 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.9035, allocations: 8.094 kB / 0.8017 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.9037, allocations: 176.1 kB / 0.8019 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.9037, allocations: 5.344 kB / 0.8019 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.9037, allocations: 6.516 kB / 0.8019 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.9041, allocations: 84.17 kB / 0.802 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9041, allocations: 192 / 0.802 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.9041, allocations: 5.156 kB / 0.802 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9041, allocations: 1.062 kB / 0.802 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.9045, allocations: 72.28 kB / 0.8021 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.9051, allocations: 286.4 kB / 0.8023 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.9053, allocations: 52.02 kB / 0.8024 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.9055, allocations: 40.27 kB / 0.8024 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.9058, allocations: 90.91 kB / 0.8025 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.9059, allocations: 39.84 kB / 0.8025 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.9059, allocations: 0 / 0.8025 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0007242/0.9066, allocations: 125.6 kB / 0.8027 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.9067, allocations: 52.22 kB / 0.8027 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.9069, allocations: 122.4 kB / 0.8028 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.9069, allocations: 25.7 kB / 0.8029 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.907, allocations: 92.62 kB / 0.8029 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.9071, allocations: 10.06 kB / 0.8029 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.9071, allocations: 17.2 kB / 0.803 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.9073, allocations: 322 kB / 0.8033 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.9075, allocations: 34.31 kB / 0.8033 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.9077, allocations: 34.23 kB / 0.8033 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.908, allocations: 71.34 kB / 0.8034 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.908, allocations: 0 / 0.8034 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003991/0.9085, allocations: 101 kB / 0.8035 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.9085, allocations: 5.375 kB / 0.8035 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9085, allocations: 0 / 0.8035 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9085, allocations: 0 / 0.8035 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.9087, allocations: 15.11 kB / 0.8035 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.9087, allocations: 1.312 kB / 0.8035 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.9088, allocations: 21.19 kB / 0.8035 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.9089, allocations: 5.438 kB / 0.8035 GB, free: 10.72 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 0.0001572/0.909, allocations: 123.9 kB / 0.8037 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.9091, allocations: 2.562 kB / 0.8037 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.9095, allocations: 103.2 kB / 0.8038 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.9095, allocations: 1.562 kB / 0.8038 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.9096, allocations: 4 kB / 0.8038 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9096, allocations: 0 / 0.8038 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.9098, allocations: 180.9 kB / 0.8039 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9099, allocations: 0 / 0.8039 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.91, allocations: 18.66 kB / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.91, allocations: 0 / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.91, allocations: 3.297 kB / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.91, allocations: 0 / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.91, allocations: 3.406 kB / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.9105, allocations: 203.2 kB / 0.8042 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.9105, allocations: 80.92 kB / 0.8042 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.9106, allocations: 1.406 kB / 0.8042 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.9107, allocations: 10.47 kB / 0.8043 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.9108, allocations: 7.875 kB / 0.8043 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.9108, allocations: 5.125 kB / 0.8043 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.9108, allocations: 94.95 kB / 0.8044 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9109, allocations: 0 / 0.8044 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002537/0.9111, allocations: 15.28 kB / 0.8044 GB, free: 10.04 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 (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.0002291/0.9113, allocations: 110.8 kB / 0.8045 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.9117, allocations: 73.84 kB / 0.8045 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9117, allocations: 1.156 kB / 0.8045 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.9119, allocations: 37.81 kB / 0.8046 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.9123, allocations: 12.27 kB / 0.8046 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.9127, allocations: 165.6 kB / 0.8048 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.9131, allocations: 0.6847 MB / 0.8054 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.097e-05/0.9132, allocations: 2.438 kB / 0.8054 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.9132, allocations: 12.42 kB / 0.8054 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.9132, allocations: 7.875 kB / 0.8054 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of Templates: time 0.004675/0.9179, allocations: 0.9936 MB / 0.8064 GB, free: 9.004 MB / 0.5919 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)