Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 107.4 kB / 16.42 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 191.4 kB / 17.35 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4228/0.4228, allocations: 95.48 MB / 366.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.043e-05, allocations: 5.797 kB / 0.5042 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003114/0.003144, allocations: 2.323 MB / 0.5065 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.396/0.3992, allocations: 162.7 MB / 0.6653 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.3994, allocations: 8 kB / 0.6653 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.3996, allocations: 47.41 kB / 0.6654 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.3998, allocations: 79.27 kB / 0.6654 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.4006, allocations: 315 kB / 0.6657 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.4011, allocations: 499.6 kB / 0.6662 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.4013, allocations: 115.2 kB / 0.6663 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.4015, allocations: 199.4 kB / 0.6665 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.4018, allocations: 191.2 kB / 0.6667 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.4018, allocations: 32 kB / 0.6667 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.4023, allocations: 267.7 kB / 0.667 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0004448/0.4027, allocations: 0.5417 MB / 0.6675 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0002171/0.4029, allocations: 311.3 kB / 0.6678 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.403, allocations: 63.81 kB / 0.6679 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of FrontEnd: time 6.15e-05/0.4031, allocations: 23.81 kB / 0.6679 GB, free: 6.941 MB / 0.5137 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.001562/0.4047, allocations: 1.561 MB / 0.6694 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002792/0.405, allocations: 171.1 kB / 0.6696 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.001253/0.4062, allocations: 1.251 MB / 0.6708 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of simplify1: time 7.993e-05/0.4063, allocations: 95.83 kB / 0.6709 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of Alias: time 0.001507/0.4078, allocations: 1.475 MB / 0.6723 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of simplify2: time 7.037e-05/0.4079, allocations: 83.89 kB / 0.6724 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of Events: time 0.0001627/0.4081, allocations: 124.8 kB / 0.6725 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0002393/0.4083, allocations: 252 kB / 0.6728 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0002553/0.4086, allocations: 265.8 kB / 0.673 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of Causalize: time 0.001091/0.4097, allocations: 1.178 MB / 0.6742 GB, free: 148 kB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0006477/0.4104, allocations: 0.7516 MB / 0.6749 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of Inline: time 0.001612/0.412, allocations: 1.798 MB / 0.6767 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of Partitioning: time 7.126e-05/0.4121, allocations: 79.53 kB / 0.6767 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of Cleanup: time 7.053e-05/0.4121, allocations: 71.86 kB / 0.6768 GB, free: 13.38 MB / 0.5294 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) [----] 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) [----] 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.003915/0.4161, allocations: 4.251 MB / 0.681 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of Tearing: time 0.0003995/0.4165, allocations: 0.532 MB / 0.6815 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of Initialization: time 4.1e-07/0.4165, allocations: 3.938 kB / 0.6815 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of Tearing: time 3.557e-06/0.4165, allocations: 4.031 kB / 0.6815 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of Categorize: time 1.124e-05/0.4165, allocations: 3.938 kB / 0.6815 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of Solve: time 0.0005198/0.417, allocations: 441.8 kB / 0.6819 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of Jacobian: time 2.786e-06/0.417, allocations: 0 / 0.6819 GB, free: 8.105 MB / 0.5294 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: ................. 4 (4) {$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: ........... 27 (scalar:27, 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: ........... 63 (scalar:63, 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 3.917e-05/0.4171, allocations: 44.19 kB / 0.682 GB, free: 8.07 MB / 0.5294 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)