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.2072/0.2091, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004591/0.2137, allocations: 2.371 MB / 0.592 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6486/0.8623, allocations: 149.7 MB / 0.7381 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.8628, allocations: 7.5 kB / 0.7381 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.8631, allocations: 28.62 kB / 0.7382 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.8633, allocations: 66.61 kB / 0.7382 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.8644, allocations: 272.2 kB / 0.7385 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.865, allocations: 416.6 kB / 0.7389 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.8653, allocations: 112.5 kB / 0.739 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.8656, allocations: 173.6 kB / 0.7392 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.8658, allocations: 179.4 kB / 0.7393 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.8659, allocations: 16.5 kB / 0.7394 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.8665, allocations: 263.3 kB / 0.7396 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.8666, allocations: 62.25 kB / 0.7397 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.8668, allocations: 156.9 kB / 0.7398 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.8676, allocations: 498.1 kB / 0.7403 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8676, allocations: 1.188 kB / 0.7403 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8676, allocations: 0 / 0.7403 GB, free: 14.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.8676, allocations: 4 kB / 0.7403 GB, free: 14.96 MB / 0.545 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.001691/0.8693, allocations: 0.8335 MB / 0.7411 GB, free: 14.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8694, allocations: 13.34 kB / 0.7411 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.8711, allocations: 192.8 kB / 0.7413 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.8715, allocations: 284.8 kB / 0.7416 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.8716, allocations: 26 kB / 0.7416 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.8716, allocations: 37.03 kB / 0.7416 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/0.8725, allocations: 369.3 kB / 0.742 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.8726, allocations: 0 / 0.742 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.8726, allocations: 16.47 kB / 0.742 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.8726, allocations: 6.125 kB / 0.742 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009858/0.8736, allocations: 363.6 kB / 0.7424 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.8761, allocations: 1.002 MB / 0.7433 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.8769, allocations: 282.8 kB / 0.7436 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.8772, allocations: 164 kB / 0.7438 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.8773, allocations: 2.812 kB / 0.7438 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.8773, allocations: 32.78 kB / 0.7438 GB, free: 13.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.8773, allocations: 0 / 0.7438 GB, free: 13.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001301/0.8786, allocations: 0.5601 MB / 0.7443 GB, free: 13.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.8787, allocations: 118.4 kB / 0.7445 GB, free: 13.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.8792, allocations: 345.6 kB / 0.7448 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.8793, allocations: 34.05 kB / 0.7448 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.8794, allocations: 176 kB / 0.745 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.8795, allocations: 83.88 kB / 0.7451 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.8797, allocations: 79.08 kB / 0.7451 GB, free: 13.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002921/0.88, allocations: 342.2 kB / 0.7455 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.8805, allocations: 186.1 kB / 0.7456 GB, free: 12.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.881, allocations: 227.9 kB / 0.7459 GB, free: 12.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009984/0.882, allocations: 0.5464 MB / 0.7464 GB, free: 12.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.882, allocations: 0 / 0.7464 GB, free: 12.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001472/0.8835, allocations: 0.6367 MB / 0.747 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.8837, allocations: 136.9 kB / 0.7471 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.8837, allocations: 0 / 0.7471 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.8838, allocations: 7.156 kB / 0.7472 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.8842, allocations: 61.02 kB / 0.7472 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.8843, allocations: 7.062 kB / 0.7472 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.885, allocations: 77.7 kB / 0.7473 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.885, allocations: 20.69 kB / 0.7473 GB, free: 12.05 MB / 0.545 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.0002603/0.8853, allocations: 210 kB / 0.7475 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.8854, allocations: 36 kB / 0.7475 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.8866, allocations: 0.5196 MB / 0.7481 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.8866, allocations: 1.75 kB / 0.7481 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8866, allocations: 1 kB / 0.7481 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8866, allocations: 0 / 0.7481 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.8881, allocations: 0.9313 MB / 0.749 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.8882, allocations: 2.125 kB / 0.749 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.8884, allocations: 37.73 kB / 0.749 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8884, allocations: 1.375 kB / 0.749 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.8885, allocations: 7.984 kB / 0.749 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8885, allocations: 1.406 kB / 0.749 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8885, allocations: 10.38 kB / 0.749 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.8895, allocations: 0.5816 MB / 0.7496 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.8897, allocations: 117.8 kB / 0.7497 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.8897, allocations: 10.66 kB / 0.7497 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.8902, allocations: 25.62 kB / 0.7497 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.8903, allocations: 19.33 kB / 0.7498 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.8903, allocations: 11.95 kB / 0.7498 GB, free: 10.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003361/0.8906, allocations: 248 kB / 0.75 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8906, allocations: 0 / 0.75 GB, free: 10.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004854/0.8911, allocations: 112.1 kB / 0.7501 GB, free: 10.55 MB / 0.545 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.000483/0.8916, allocations: 144.1 kB / 0.7502 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.8928, allocations: 0.6771 MB / 0.7509 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.8928, allocations: 128 / 0.7509 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.8933, allocations: 325 kB / 0.7512 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/0.8941, allocations: 93.69 kB / 0.7513 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.8963, allocations: 0.9337 MB / 0.7522 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.8968, allocations: 0.773 MB / 0.753 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004691/0.8973, allocations: 62.2 kB / 0.753 GB, free: 8.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.8974, allocations: 29.77 kB / 0.7531 GB, free: 8.664 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/0.8974, allocations: 0 / 0.7531 GB, free: 8.664 MB / 0.545 GB Notification: Performance of Templates: time 0.01387/0.9113, allocations: 6.811 MB / 0.7597 GB, free: 5.277 MB / 0.545 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)