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.1969/0.1976, allocations: 82.22 MB / 0.5941 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002743/0.2004, allocations: 2.003 MB / 0.5961 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5862/0.7866, allocations: 148.1 MB / 0.7406 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.787, allocations: 3.312 kB / 0.7407 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.7872, allocations: 32.44 kB / 0.7407 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.7874, allocations: 66.02 kB / 0.7407 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.7884, allocations: 269.5 kB / 0.741 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.789, allocations: 419.7 kB / 0.7414 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.7893, allocations: 110.7 kB / 0.7415 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.7896, allocations: 160.7 kB / 0.7417 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.7898, allocations: 161 kB / 0.7418 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.7899, allocations: 13.25 kB / 0.7418 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006058/0.7905, allocations: 261.5 kB / 0.7421 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.7906, allocations: 52.36 kB / 0.7421 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.7908, allocations: 176 kB / 0.7423 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005783/0.7913, allocations: 492.1 kB / 0.7428 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7914, allocations: 0 / 0.7428 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7914, allocations: 1.344 kB / 0.7428 GB, free: 14.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.7914, allocations: 4 kB / 0.7428 GB, free: 14.74 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.001376/0.7928, allocations: 0.7635 MB / 0.7435 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7928, allocations: 15.55 kB / 0.7435 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.7945, allocations: 199.5 kB / 0.7437 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.7949, allocations: 286.1 kB / 0.744 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.7949, allocations: 24.75 kB / 0.744 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.795, allocations: 35.06 kB / 0.7441 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.7958, allocations: 370.2 kB / 0.7444 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7958, allocations: 4 kB / 0.7444 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.7959, allocations: 14.25 kB / 0.7444 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.7959, allocations: 8.406 kB / 0.7444 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.797, allocations: 375.4 kB / 0.7448 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.7993, allocations: 1.014 MB / 0.7458 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/0.8, allocations: 285.4 kB / 0.7461 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.8004, allocations: 168.8 kB / 0.7462 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.8004, allocations: 3.406 kB / 0.7462 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.8005, allocations: 34.22 kB / 0.7462 GB, free: 13.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.8005, allocations: 4 kB / 0.7463 GB, free: 13.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001279/0.8018, allocations: 0.5732 MB / 0.7468 GB, free: 13.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.8019, allocations: 116.7 kB / 0.7469 GB, free: 13.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.8023, allocations: 338.4 kB / 0.7472 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.8024, allocations: 34.42 kB / 0.7473 GB, free: 12.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.8025, allocations: 180.1 kB / 0.7474 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.8026, allocations: 82.28 kB / 0.7475 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.8027, allocations: 41.31 kB / 0.7476 GB, free: 12.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8029, allocations: 341.3 kB / 0.7479 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.8034, allocations: 186.2 kB / 0.7481 GB, free: 12.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.8039, allocations: 238.6 kB / 0.7483 GB, free: 12.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.8049, allocations: 0.5548 MB / 0.7488 GB, free: 12.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8049, allocations: 0 / 0.7488 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001464/0.8064, allocations: 0.6544 MB / 0.7495 GB, free: 11.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.8065, allocations: 133.5 kB / 0.7496 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8066, allocations: 0 / 0.7496 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8066, allocations: 6.875 kB / 0.7496 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.807, allocations: 66.67 kB / 0.7497 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.8071, allocations: 1.812 kB / 0.7497 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.8078, allocations: 78.67 kB / 0.7498 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.8078, allocations: 18.2 kB / 0.7498 GB, free: 11.56 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.0002479/0.8081, allocations: 216.7 kB / 0.75 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.8082, allocations: 30.69 kB / 0.75 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.8093, allocations: 0.5349 MB / 0.7505 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8093, allocations: 3.031 kB / 0.7505 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8093, allocations: 0 / 0.7505 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8094, allocations: 0 / 0.7505 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.8108, allocations: 0.9388 MB / 0.7514 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8108, allocations: 0 / 0.7514 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.8111, allocations: 41.05 kB / 0.7515 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8111, allocations: 1.375 kB / 0.7515 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.8111, allocations: 11.61 kB / 0.7515 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.8111, allocations: 3.75 kB / 0.7515 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8111, allocations: 0 / 0.7515 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.8121, allocations: 0.5963 MB / 0.7521 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.8123, allocations: 120.7 kB / 0.7522 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.8124, allocations: 12.75 kB / 0.7522 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.8128, allocations: 24.77 kB / 0.7522 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.8129, allocations: 20.03 kB / 0.7523 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.8129, allocations: 12.66 kB / 0.7523 GB, free: 10.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000338/0.8133, allocations: 251.5 kB / 0.7525 GB, free: 10.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.444e-06/0.8133, allocations: 0 / 0.7525 GB, free: 10.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004765/0.8138, allocations: 109.8 kB / 0.7526 GB, free: 10.05 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.000327/0.8141, allocations: 144.7 kB / 0.7528 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.8153, allocations: 0.6891 MB / 0.7534 GB, free: 9.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8153, allocations: 4.125 kB / 0.7534 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.8158, allocations: 324.2 kB / 0.7537 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.8165, allocations: 98.91 kB / 0.7538 GB, free: 9.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.8184, allocations: 0.9556 MB / 0.7548 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.8187, allocations: 0.767 MB / 0.7555 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.8191, allocations: 64.75 kB / 0.7556 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.8192, allocations: 29.67 kB / 0.7556 GB, free: 8.152 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.8192, allocations: 3.938 kB / 0.7556 GB, free: 8.148 MB / 0.545 GB Notification: Performance of Templates: time 0.01133/0.8306, allocations: 6.777 MB / 0.7622 GB, free: 4.762 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: