Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.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.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger") [/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.1878/0.1899, allocations: 80.83 MB / 0.6706 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003629/0.1935, allocations: 2.326 MB / 0.6729 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.744/0.9375, allocations: 151.9 MB / 0.8212 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.9379, allocations: 2.594 kB / 0.8212 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.9382, allocations: 47.22 kB / 0.8213 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.9384, allocations: 76.41 kB / 0.8214 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.9395, allocations: 313.9 kB / 0.8217 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.94, allocations: 450 kB / 0.8221 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.9403, allocations: 113.9 kB / 0.8222 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.9406, allocations: 195.9 kB / 0.8224 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.9409, allocations: 188.6 kB / 0.8226 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.9409, allocations: 33.25 kB / 0.8226 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005141/0.9415, allocations: 280.8 kB / 0.8229 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.9416, allocations: 74.36 kB / 0.8229 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.9417, allocations: 173.7 kB / 0.8231 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.9424, allocations: 0.5121 MB / 0.8236 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9424, allocations: 0 / 0.8236 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9424, allocations: 3.938 kB / 0.8236 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.9424, allocations: 4 kB / 0.8236 GB, free: 4.418 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001653/0.9441, allocations: 0.8317 MB / 0.8244 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.9441, allocations: 8 kB / 0.8244 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.9458, allocations: 200 kB / 0.8246 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.9462, allocations: 296 kB / 0.8249 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.9462, allocations: 23.97 kB / 0.8249 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.9463, allocations: 31.5 kB / 0.825 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.9472, allocations: 368.2 kB / 0.8253 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.9472, allocations: 0 / 0.8253 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.9473, allocations: 13.41 kB / 0.8253 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.9473, allocations: 5.719 kB / 0.8253 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.9482, allocations: 370 kB / 0.8257 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.9506, allocations: 0.9906 MB / 0.8266 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.9513, allocations: 280.9 kB / 0.8269 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.9517, allocations: 160.7 kB / 0.8271 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.9517, allocations: 2.844 kB / 0.8271 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.9518, allocations: 40.41 kB / 0.8271 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.9518, allocations: 0 / 0.8271 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001403/0.9532, allocations: 0.5654 MB / 0.8277 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.9533, allocations: 118.4 kB / 0.8278 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.9537, allocations: 335 kB / 0.8281 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.9538, allocations: 28.86 kB / 0.8281 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.9539, allocations: 177.6 kB / 0.8283 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/0.954, allocations: 84.97 kB / 0.8284 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.9542, allocations: 88.97 kB / 0.8285 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9544, allocations: 346.3 kB / 0.8288 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.9549, allocations: 175.9 kB / 0.8289 GB, free: 432 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.9555, allocations: 239.4 kB / 0.8292 GB, free: 280 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.9565, allocations: 0.5458 MB / 0.8297 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9565, allocations: 0 / 0.8297 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002003/0.9585, allocations: 0.6419 MB / 0.8303 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.9587, allocations: 134.6 kB / 0.8305 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.9587, allocations: 3 kB / 0.8305 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.9587, allocations: 8 kB / 0.8305 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.9594, allocations: 61.08 kB / 0.8305 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.9594, allocations: 2.594 kB / 0.8305 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/0.9603, allocations: 76.02 kB / 0.8306 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.9604, allocations: 20.92 kB / 0.8306 GB, free: 15.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (theComFixPar.steRat.found,theComFixPar.steRat.i_nw,theComFixPar.steRat.i_w,theCom.steRat.found,theCom.steRat.i_nw,theCom.steRat.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 4 * 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.000373/0.9608, allocations: 212.7 kB / 0.8308 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.961, allocations: 30.75 kB / 0.8309 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.9627, allocations: 0.5368 MB / 0.8314 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.9627, allocations: 2.781 kB / 0.8314 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.9627, allocations: 0 / 0.8314 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9627, allocations: 0 / 0.8314 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.9649, allocations: 0.9289 MB / 0.8323 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.965, allocations: 0 / 0.8323 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.9654, allocations: 41.5 kB / 0.8323 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.9654, allocations: 2.875 kB / 0.8323 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.9654, allocations: 14.69 kB / 0.8324 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.9655, allocations: 2.188 kB / 0.8324 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9655, allocations: 2.125 kB / 0.8324 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.967, allocations: 0.5799 MB / 0.8329 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.9672, allocations: 114.8 kB / 0.833 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-05/0.9673, allocations: 8.938 kB / 0.833 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.968, allocations: 18.92 kB / 0.8331 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.9681, allocations: 31.12 kB / 0.8331 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.9681, allocations: 11.59 kB / 0.8331 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005646/0.9687, allocations: 244.6 kB / 0.8333 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9687, allocations: 0 / 0.8333 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007705/0.9695, allocations: 108.8 kB / 0.8334 GB, free: 13.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0004524/0.97, allocations: 143.2 kB / 0.8336 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.9718, allocations: 0.6777 MB / 0.8342 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9719, allocations: 0 / 0.8342 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.9726, allocations: 314.2 kB / 0.8345 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.9736, allocations: 110.1 kB / 0.8346 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.9764, allocations: 0.8468 MB / 0.8355 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.9769, allocations: 0.7764 MB / 0.8362 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.9773, allocations: 53.19 kB / 0.8363 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.9775, allocations: 33.36 kB / 0.8363 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/0.9775, allocations: 0 / 0.8363 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Templates: time 0.01815/0.9957, allocations: 7.223 MB / 0.8434 GB, free: 7.43 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)