Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.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) Running command: translateModel(Annex60.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Annex60.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 107 kB / 16.42 MB, free: 6.469 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.001116/0.001117, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.29/1.29, 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/Annex60 1.0.0/package.mo): time 0.2499/0.2499, allocations: 54.96 MB / 325.5 MB, free: 4.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.194e-05, allocations: 2.281 kB / 456.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sources.Examples.Outside_CpLowRise): time 0.3899/0.3899, allocations: 166.7 MB / 0.6089 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.4066, allocations: 16.14 MB / 0.6246 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009959/0.4076, allocations: 23 kB / 0.6247 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.4088, allocations: 470 kB / 0.6251 GB, free: 3.547 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-104:25:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-49:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002126/0.4109, allocations: 0.8971 MB / 0.626 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.4141, allocations: 1.475 MB / 0.6274 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.4166, allocations: 2.564 MB / 0.6299 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.4184, allocations: 1.682 MB / 0.6316 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.4199, allocations: 1.152 MB / 0.6327 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.4207, allocations: 0.8362 MB / 0.6335 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.4209, allocations: 180 kB / 0.6337 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.4225, allocations: 0.8855 MB / 0.6345 GB, free: 9.859 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.001768/0.4243, allocations: 2.671 MB / 0.6372 GB, free: 7.16 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.000909/0.4252, allocations: 1.623 MB / 0.6387 GB, free: 5.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.4255, allocations: 295.1 kB / 0.639 GB, free: 5.227 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0002352/0.4257, allocations: 75.44 kB / 0.6391 GB, free: 5.152 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 407 (364) * Number of variables: 407 (364) Notification: Performance of Bindings: time 0.006449/0.4322, allocations: 7.846 MB / 0.6468 GB, free: 13.06 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.001014/0.4332, allocations: 1.142 MB / 0.6479 GB, free: 11.91 MB / 478.1 MB Notification: Performance of Early Inline: time 0.004632/0.4379, allocations: 5.097 MB / 0.6529 GB, free: 6.758 MB / 478.1 MB Notification: Performance of simplify1: time 0.0003653/0.4383, allocations: 355.6 kB / 0.6532 GB, free: 6.41 MB / 478.1 MB Notification: Performance of Alias: time 0.0087/0.447, allocations: 8.435 MB / 0.6614 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simplify2: time 0.0002726/0.4473, allocations: 231.8 kB / 0.6616 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Events: time 0.0008378/0.4481, allocations: 0.6969 MB / 0.6623 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Detect States: time 0.001033/0.4491, allocations: 0.9346 MB / 0.6632 GB, free: 11.62 MB / 494.1 MB Notification: Performance of Partitioning: time 0.001177/0.4503, allocations: 1.178 MB / 0.6644 GB, free: 10.28 MB / 494.1 MB Notification: Performance of Causalize: time 0.00697/0.4573, allocations: 6.713 MB / 0.6709 GB, free: 3.641 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.002845/0.4602, allocations: 2.734 MB / 0.6736 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of Inline: time 0.006231/0.4664, allocations: 6.138 MB / 0.6796 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0002287/0.4667, allocations: 199.6 kB / 0.6798 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0003082/0.467, allocations: 307.5 kB / 0.6801 GB, free: 10.17 MB / 0.4981 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); [----] east.x_pTphi.found := false; [----] east.x_pTphi.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 [----] east.x_pTphi.i_w := i; [----] east.x_pTphi.found := true; [----] end if; [----] end for; [----] east.x_pTphi.i_nw := if east.x_pTphi.i_w == 1 then 2 else 1; [----] assert(east.x_pTphi.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); [----] south.x_pTphi.found := false; [----] south.x_pTphi.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 [----] south.x_pTphi.i_w := i; [----] south.x_pTphi.found := true; [----] end if; [----] end for; [----] south.x_pTphi.i_nw := if south.x_pTphi.i_w == 1 then 2 else 1; [----] assert(south.x_pTphi.found, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {2}; [ALGO] (3) ($RES_SIM_2) [----] assert(true, "The implementation is only valid if Medium.nX=2.", AssertionLevel.error); [----] north.x_pTphi.found := false; [----] north.x_pTphi.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 [----] north.x_pTphi.i_w := i; [----] north.x_pTphi.found := true; [----] end if; [----] end for; [----] north.x_pTphi.i_nw := if north.x_pTphi.i_w == 1 then 2 else 1; [----] assert(north.x_pTphi.found, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {2}; [ALGO] (3) ($RES_SIM_3) [----] assert(true, "The implementation is only valid if Medium.nX=2.", AssertionLevel.error); [----] west.x_pTphi.found := false; [----] west.x_pTphi.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 [----] west.x_pTphi.i_w := i; [----] west.x_pTphi.found := true; [----] end if; [----] end for; [----] west.x_pTphi.i_nw := if west.x_pTphi.i_w == 1 then 2 else 1; [----] assert(west.x_pTphi.found, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {2}; Notification: Performance of Causalize: time 0.01742/0.4844, allocations: 18.17 MB / 0.6978 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of Tearing: time 0.002055/0.4865, allocations: 2.52 MB / 0.7003 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of Initialization: time 1.513e-06/0.4865, allocations: 0 / 0.7003 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of Tearing: time 0.001028/0.4876, allocations: 1.37 MB / 0.7016 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of Categorize: time 4.069e-05/0.4876, allocations: 7.938 kB / 0.7016 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of Solve: time 0.001464/0.4891, allocations: 0.9452 MB / 0.7026 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of Jacobian: time 4.468e-06/0.4891, allocations: 0 / 0.7026 GB, free: 3.336 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 20 * 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: .................... 2 (2) {weaDat.conTim.tStart, weaDat.conTim1.tStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 42 (38) {$SEV_42, $SEV_41[$i1], $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12[$i1], $SEV_11, $SEV_10, $SEV_9[$i1], $SEV_8, $SEV_7, $SEV_6[$i1], $SEV_5} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 139 (scalar:123, array:16, record:0) * Number of multi strong components: ............ 6 (algorithm:4, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 0, nonlinear:5) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 200 (scalar:178, array:20, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 9 (linear: 0, nonlinear:9) Notification: Performance of backend: time 7.608e-05/0.4892, allocations: 83.27 kB / 0.7027 GB, free: 3.262 MB / 0.5137 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_154) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, west.medium.X, "Boundary_pT");