Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain.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.Rooms.BaseClasses.Examples.CFDHeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain") translateModel(Buildings.Rooms.BaseClasses.Examples.CFDHeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain") [/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.2087/0.2107, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.CFDHeatGain): time 0.003504/0.2143, allocations: 1.54 MB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.2145, allocations: 27.86 kB / 0.6722 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.2146, allocations: 0 / 0.6722 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2147, allocations: 7.922 kB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.2148, allocations: 15.88 kB / 0.6722 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.2149, allocations: 19.97 kB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2151, allocations: 47.84 kB / 0.6722 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.2153, allocations: 31.92 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.2153, allocations: 23.92 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.2154, allocations: 23.92 kB / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2154, allocations: 4 kB / 0.6723 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2154, allocations: 4 kB / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.2155, allocations: 23.91 kB / 0.6724 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.2156, allocations: 31.8 kB / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2157, allocations: 51.77 kB / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2157, allocations: 0 / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2157, allocations: 0 / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2157, allocations: 0 / 0.6724 GB, free: 148 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006173/0.2163, allocations: 367.3 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2164, allocations: 19.91 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.2164, allocations: 8.844 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2167, allocations: 188.3 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2167, allocations: 4.375 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.2168, allocations: 4.375 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.217, allocations: 104.1 kB / 0.6731 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.217, allocations: 192 / 0.6731 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2171, allocations: 11.92 kB / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2171, allocations: 4 kB / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.2172, allocations: 43.92 kB / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.218, allocations: 0.6322 MB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.2182, allocations: 173.1 kB / 0.6739 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.2182, allocations: 80.14 kB / 0.674 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.2183, allocations: 79.27 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/0.2183, allocations: 109.8 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.2184, allocations: 0 / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.788e-05/0.2185, allocations: 45.48 kB / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.2186, allocations: 126.7 kB / 0.6744 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2187, allocations: 163.3 kB / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2188, allocations: 25.7 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.2189, allocations: 108 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.2189, allocations: 0 / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.2189, allocations: 17.72 kB / 0.6747 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2191, allocations: 314.8 kB / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.2191, allocations: 12 kB / 0.675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.2191, allocations: 18.58 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.2192, allocations: 26.52 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2192, allocations: 0 / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001327/0.2193, allocations: 61.62 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2194, allocations: 8 kB / 0.6751 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2194, allocations: 0 / 0.6751 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2194, allocations: 7.922 kB / 0.6751 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.2195, allocations: 8 kB / 0.6751 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2195, allocations: 7.938 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/0.2195, allocations: 3.906 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.2195, allocations: 4 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.00013/0.2197, allocations: 201.1 kB / 0.6753 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.2198, allocations: 108.9 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.2198, allocations: 120.6 kB / 0.6755 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.795e-05/0.2199, allocations: 180.2 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.954e-05/0.22, allocations: 180.3 kB / 0.6759 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-05/0.2201, allocations: 184.2 kB / 0.676 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.2204, allocations: 433.2 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-05/0.2204, allocations: 105 kB / 0.6766 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.2205, allocations: 108.9 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.956e-05/0.2206, allocations: 176.3 kB / 0.6768 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.563e-05/0.2206, allocations: 188.1 kB / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.583e-05/0.2207, allocations: 180.3 kB / 0.6772 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.912e-05/0.2208, allocations: 184.5 kB / 0.6774 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.221, allocations: 307.7 kB / 0.6776 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2211, allocations: 197.9 kB / 0.6778 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.2212, allocations: 180.2 kB / 0.678 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2213, allocations: 105 kB / 0.6781 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2214, allocations: 188.2 kB / 0.6783 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.2214, allocations: 101 kB / 0.6784 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001241/0.2216, allocations: 128.9 kB / 0.6785 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2216, allocations: 0 / 0.6785 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002566/0.2218, allocations: 4 kB / 0.6785 GB, free: 9.426 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0001635/0.222, allocations: 178.5 kB / 0.6787 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.611e-05/0.2221, allocations: 15.94 kB / 0.6787 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2221, allocations: 0 / 0.6787 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2221, allocations: 0 / 0.6787 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.2225, allocations: 463.5 kB / 0.6791 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.223, allocations: 237.4 kB / 0.6794 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.2233, allocations: 0.6924 MB / 0.68 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.2234, allocations: 4 kB / 0.68 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.2234, allocations: 11.44 kB / 0.6801 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2234, allocations: 0 / 0.6801 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of Templates: time 0.00282/0.2262, allocations: 436.5 kB / 0.6805 GB, free: 7.355 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain.makefile (rm -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain.pipe >> ../files/Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain.sim & ./Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.CFDHeatGain.pipe 2>&1)