Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside") translateModel(Annex60.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 107.5 kB / 16.42 MB, free: 6.496 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.001155/0.001155, allocations: 188.3 kB / 17.35 MB, free: 5.723 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.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2472/0.2472, allocations: 54.96 MB / 325.6 MB, free: 4.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.772e-05, allocations: 6.219 kB / 456.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sources.Examples.Outside): time 0.3559/0.356, allocations: 175.6 MB / 0.6176 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3683, allocations: 10.44 MB / 0.6278 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008582/0.3692, allocations: 27.88 kB / 0.6278 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3703, allocations: 381.1 kB / 0.6282 GB, free: 468 kB / 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.002241/0.3725, allocations: 0.8177 MB / 0.629 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004171/0.3767, allocations: 1.705 MB / 0.6306 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.3793, allocations: 2.351 MB / 0.6329 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.3807, allocations: 1.232 MB / 0.6341 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3827, allocations: 1.214 MB / 0.6353 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007364/0.3835, allocations: 0.7314 MB / 0.636 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.3836, allocations: 128 kB / 0.6362 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.3856, allocations: 1.127 MB / 0.6373 GB, free: 7.117 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.00145/0.3871, allocations: 2.138 MB / 0.6393 GB, free: 4.957 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007913/0.3879, allocations: 1.312 MB / 0.6406 GB, free: 3.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.3882, allocations: 239.2 kB / 0.6409 GB, free: 3.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0002393/0.3884, allocations: 51.62 kB / 0.6409 GB, free: 3.344 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: 292 (259) * Number of variables: 292 (258) Notification: Performance of Bindings: time 0.005126/0.3935, allocations: 6.132 MB / 0.6469 GB, free: 12.98 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0007033/0.3943, allocations: 0.7142 MB / 0.6476 GB, free: 12.24 MB / 478.1 MB Notification: Performance of Early Inline: time 0.004015/0.3983, allocations: 4.26 MB / 0.6518 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simplify1: time 0.0003531/0.3986, allocations: 339.6 kB / 0.6521 GB, free: 7.582 MB / 478.1 MB Notification: Performance of Alias: time 0.005876/0.4045, allocations: 5.68 MB / 0.6576 GB, free: 1.488 MB / 478.1 MB Notification: Performance of simplify2: time 0.0003009/0.4048, allocations: 263.7 kB / 0.6579 GB, free: 1.23 MB / 478.1 MB Notification: Performance of Events: time 0.0008243/0.4057, allocations: 0.7075 MB / 0.6586 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of Detect States: time 0.0008171/0.4065, allocations: 0.8379 MB / 0.6594 GB, free: 15.65 MB / 494.1 MB Notification: Performance of Partitioning: time 0.001079/0.4076, allocations: 1.119 MB / 0.6605 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Causalize: time 0.006509/0.4141, allocations: 6.871 MB / 0.6672 GB, free: 7.57 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.002429/0.4166, allocations: 2.572 MB / 0.6697 GB, free: 4.965 MB / 494.1 MB Notification: Performance of Inline: time 0.005289/0.4219, allocations: 5.42 MB / 0.675 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0002393/0.4221, allocations: 203.6 kB / 0.6752 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0005369/0.4227, allocations: 247.6 kB / 0.6754 GB, free: 15.03 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] (1) ($RES_SIM_0) [----] senMasFra.i_x := -1; [----] for i in 1:1 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], senMasFra.substanceName, false) == Modelica.Utilities.Types.Compare.Equal then [----] senMasFra.i_x := i; [----] end if; [----] end for; [----] assert(senMasFra.i_x > 0, "Substance '" + senMasFra.substanceName + "' is not present in medium '" + "Air" + "'. " + "Change medium model to one that has '" + senMasFra.substanceName + "' as a substance.", AssertionLevel.error); slice: {}; [ALGO] (3) ($RES_SIM_1) [----] assert(true, "The implementation is only valid if Medium.nX=2.", AssertionLevel.error); [----] bou.x_pTphi.found := false; [----] bou.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 [----] bou.x_pTphi.i_w := i; [----] bou.x_pTphi.found := true; [----] end if; [----] end for; [----] bou.x_pTphi.i_nw := if bou.x_pTphi.i_w == 1 then 2 else 1; [----] assert(bou.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.01775/0.4405, allocations: 17.92 MB / 0.6929 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0009232/0.4414, allocations: 1.058 MB / 0.694 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of Initialization: time 9.52e-07/0.4414, allocations: 0 / 0.694 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0002467/0.4417, allocations: 346.6 kB / 0.6943 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of Categorize: time 3.411e-05/0.4417, allocations: 11.94 kB / 0.6943 GB, free: 12.36 MB / 0.5137 GB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: protected parameter Integer senMasFra.i_x ### Equation: [SCAL] (1) senMasFra.X_start = ({0.01, 0.99})[senMasFra.i_x] ($RES_BND_417)