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.5485/0.5507, allocations: 80.8 MB / 0.5904 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.CFDHeatGain): time 0.003449/0.5542, allocations: 1.538 MB / 0.5919 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001584/0.5544, allocations: 24.75 kB / 0.5919 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.5544, allocations: 1.375 kB / 0.5919 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.5546, allocations: 14.36 kB / 0.5919 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.5546, allocations: 11.86 kB / 0.592 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.5548, allocations: 21.62 kB / 0.592 GB, free: 20.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.757e-05/0.5549, allocations: 46.88 kB / 0.592 GB, free: 20.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.5551, allocations: 36.48 kB / 0.5921 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.5551, allocations: 19.31 kB / 0.5921 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.5552, allocations: 29.34 kB / 0.5921 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.5552, allocations: 4.031 kB / 0.5921 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.5552, allocations: 4.188 kB / 0.5921 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.5553, allocations: 22.58 kB / 0.5921 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.5553, allocations: 26.73 kB / 0.5922 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.5555, allocations: 47.16 kB / 0.5922 GB, free: 20.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5555, allocations: 3.938 kB / 0.5922 GB, free: 20.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5555, allocations: 3.312 kB / 0.5922 GB, free: 20.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.5555, allocations: 0 / 0.5922 GB, free: 20.76 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003964/0.5559, allocations: 367.4 kB / 0.5926 GB, free: 20.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5559, allocations: 11.22 kB / 0.5926 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.556, allocations: 8.406 kB / 0.5926 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.5561, allocations: 185.1 kB / 0.5928 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.5561, allocations: 1.938 kB / 0.5928 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.5562, allocations: 9.406 kB / 0.5928 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.5563, allocations: 100.9 kB / 0.5929 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5564, allocations: 2.344 kB / 0.5929 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5564, allocations: 5.094 kB / 0.5929 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.5564, allocations: 6.328 kB / 0.5929 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.5565, allocations: 45.22 kB / 0.5929 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.557, allocations: 0.6464 MB / 0.5935 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.5571, allocations: 170.5 kB / 0.5937 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.5571, allocations: 80.14 kB / 0.5938 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.5571, allocations: 77.22 kB / 0.5939 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5572, allocations: 111.1 kB / 0.594 GB, free: 18.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5572, allocations: 0 / 0.594 GB, free: 18.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.295e-05/0.5573, allocations: 36.3 kB / 0.594 GB, free: 18.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.5573, allocations: 135.5 kB / 0.5941 GB, free: 18.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.5575, allocations: 174 kB / 0.5943 GB, free: 18.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.5575, allocations: 26.89 kB / 0.5943 GB, free: 18.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.5575, allocations: 99.42 kB / 0.5944 GB, free: 18.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-06/0.5575, allocations: 5.094 kB / 0.5944 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.5576, allocations: 20.02 kB / 0.5944 GB, free: 18.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.5576, allocations: 324.3 kB / 0.5947 GB, free: 18.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.5577, allocations: 0 / 0.5947 GB, free: 18.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.5577, allocations: 26.56 kB / 0.5948 GB, free: 18.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.5577, allocations: 34.52 kB / 0.5948 GB, free: 18.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5577, allocations: 0 / 0.5948 GB, free: 18.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/0.5578, allocations: 57.53 kB / 0.5949 GB, free: 17.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5579, allocations: 4 kB / 0.5949 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5579, allocations: 0 / 0.5949 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5579, allocations: 7.938 kB / 0.5949 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.558, allocations: 4 kB / 0.5949 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.558, allocations: 0 / 0.5949 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.558, allocations: 8.094 kB / 0.5949 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.558, allocations: 0 / 0.5949 GB, free: 17.96 MB / 446.1 MB 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 7.586e-05/0.5581, allocations: 197 kB / 0.5951 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.5581, allocations: 112.8 kB / 0.5952 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.5582, allocations: 120.7 kB / 0.5953 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.5582, allocations: 180.3 kB / 0.5955 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-05/0.5583, allocations: 188.2 kB / 0.5956 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.5583, allocations: 176.3 kB / 0.5958 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.5585, allocations: 421.1 kB / 0.5962 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/0.5585, allocations: 109 kB / 0.5963 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.5585, allocations: 101 kB / 0.5964 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-05/0.5586, allocations: 180.2 kB / 0.5966 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.5586, allocations: 196.2 kB / 0.5968 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-05/0.5586, allocations: 184.2 kB / 0.597 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.576e-05/0.5587, allocations: 180.2 kB / 0.5971 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.484e-05/0.5587, allocations: 311.7 kB / 0.5974 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.5588, allocations: 190 kB / 0.5976 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.5588, allocations: 188.1 kB / 0.5978 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.5589, allocations: 101.3 kB / 0.5979 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.559, allocations: 180.3 kB / 0.598 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.559, allocations: 109 kB / 0.5982 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.66e-05/0.5591, allocations: 131.1 kB / 0.5983 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5591, allocations: 4 kB / 0.5983 GB, free: 14.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.5593, allocations: 8 kB / 0.5983 GB, free: 14.25 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 (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 9.983e-05/0.5594, allocations: 170.5 kB / 0.5985 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.5595, allocations: 15.88 kB / 0.5985 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5595, allocations: 0 / 0.5985 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.5595, allocations: 0 / 0.5985 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.5598, allocations: 465.8 kB / 0.5989 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.5601, allocations: 229.3 kB / 0.5991 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.5603, allocations: 0.6963 MB / 0.5998 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.116e-05/0.5603, allocations: 11.77 kB / 0.5998 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.5603, allocations: 7.438 kB / 0.5998 GB, free: 12.61 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.5603, allocations: 0 / 0.5998 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Templates: time 0.002533/0.5629, allocations: 428 kB / 0.6002 GB, free: 12.2 MB / 446.1 MB 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)