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 1.943e-05/1.944e-05, allocations: 4.75 kB / 0.5922 GB, free: 18.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002556/0.002584, allocations: 2.32 MB / 0.5945 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1579/0.1605, allocations: 151.9 MB / 0.7429 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.1609, allocations: 4 kB / 0.7429 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1611, allocations: 47.45 kB / 0.7429 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.1614, allocations: 79.28 kB / 0.743 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.1624, allocations: 306.9 kB / 0.7433 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.1631, allocations: 0.4919 MB / 0.7438 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.1634, allocations: 123.7 kB / 0.7439 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.1637, allocations: 191.5 kB / 0.7441 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.164, allocations: 191.2 kB / 0.7442 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.1641, allocations: 36 kB / 0.7443 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005961/0.1647, allocations: 271.7 kB / 0.7445 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0004549/0.1652, allocations: 0.5373 MB / 0.7451 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002057/0.1654, allocations: 311.3 kB / 0.7454 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.1655, allocations: 59.81 kB / 0.7454 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.697e-05/0.1656, allocations: 27.86 kB / 0.7454 GB, free: 5.449 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 (63) * Number of variables: 67 (65) Notification: Performance of Bindings: time 0.001607/0.1672, allocations: 1.538 MB / 0.7469 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0003406/0.1676, allocations: 167 kB / 0.7471 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001791/0.1694, allocations: 1.483 MB / 0.7486 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001592/0.1695, allocations: 119.9 kB / 0.7487 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of Alias: time 0.002226/0.1718, allocations: 1.524 MB / 0.7502 GB, free: 328 kB / 0.5762 GB Notification: Performance of simplify2: time 0.0001825/0.172, allocations: 95.89 kB / 0.7502 GB, free: 232 kB / 0.5762 GB Notification: Performance of Events: time 0.0003479/0.1723, allocations: 227.9 kB / 0.7505 GB, free: 4 kB / 0.5762 GB Notification: Performance of Detect States: time 0.3931/0.5654, allocations: 308.2 kB / 0.7508 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0004728/0.5659, allocations: 314.1 kB / 0.7511 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of Causalize: time 0.00184/0.5678, allocations: 1.452 MB / 0.7525 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001157/0.569, allocations: 0.9449 MB / 0.7534 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of Inline: time 0.002448/0.5714, allocations: 2.435 MB / 0.7558 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of Partitioning: time 7.165e-05/0.5715, allocations: 75.92 kB / 0.7559 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0001398/0.5717, allocations: 120.8 kB / 0.756 GB, free: 7.645 MB / 0.5762 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (3) ($RES_SIM_0) [----] assert(true, "The implementation is only valid if Medium.nX=2.", AssertionLevel.error); [----] theComFixPar.steRat.found := false; [----] theComFixPar.steRat.i_w := 1; [----] for i in 1:1 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], "water", false) == Modelica.Utilities.Types.Compare.Equal then [----] theComFixPar.steRat.i_w := i; [----] theComFixPar.steRat.found := true; [----] end if; [----] end for; [----] theComFixPar.steRat.i_nw := if theComFixPar.steRat.i_w == 1 then 2 else 1; [----] assert(theComFixPar.steRat.found, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {2}; [ALGO] (3) ($RES_SIM_1) [----] assert(true, "The implementation is only valid if Medium.nX=2.", AssertionLevel.error); [----] theCom.steRat.found := false; [----] theCom.steRat.i_w := 1; [----] for i in 1:1 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], "water", false) == Modelica.Utilities.Types.Compare.Equal then [----] theCom.steRat.i_w := i; [----] theCom.steRat.found := true; [----] end if; [----] end for; [----] theCom.steRat.i_nw := if theCom.steRat.i_w == 1 then 2 else 1; [----] assert(theCom.steRat.found, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {2}; Notification: Performance of Causalize: time 0.005895/0.5776, allocations: 4.957 MB / 0.7608 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of Tearing: time 0.000534/0.5781, allocations: 0.5282 MB / 0.7613 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of Initialization: time 7.11e-07/0.5781, allocations: 0 / 0.7613 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of Tearing: time 7.203e-06/0.5781, allocations: 3.094 kB / 0.7613 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of Categorize: time 2.164e-05/0.5782, allocations: 3.688 kB / 0.7613 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of Solve: time 0.001178/0.5793, allocations: 0.5698 MB / 0.7619 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of Jacobian: time 5.12e-06/0.5794, allocations: 4.062 kB / 0.7619 GB, free: 6.547 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (12) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 35 (scalar:35, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 71 (scalar:71, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.457e-05/0.5794, allocations: 37.56 kB / 0.7619 GB, free: 6.539 MB / 0.5762 GB Error: Internal error NBDifferentiate.differentiateCall failed because the function is not a builtin function and could not be found in the function tree: Buildings.Utilities.Psychrometrics.Functions.pW_X(theComFixPar.steRat.X[1], theComFixPar.pAir)