Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [/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 2.135e-05/2.136e-05, allocations: 2.281 kB / 0.5922 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004046/0.004076, allocations: 2.498 MB / 0.5947 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.005646, allocations: 0.8335 MB / 0.5955 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.005806, allocations: 4 kB / 0.5955 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.007162, allocations: 0.5693 MB / 0.596 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.007537, allocations: 119.5 kB / 0.5962 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.007884, allocations: 107.8 kB / 0.5963 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.008253, allocations: 215.4 kB / 0.5965 GB, free: 1.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.008616, allocations: 137.3 kB / 0.5966 GB, free: 1.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.008753, allocations: 79.62 kB / 0.5967 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.008969, allocations: 75.75 kB / 0.5967 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.009002, allocations: 11.94 kB / 0.5968 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.009193, allocations: 83.8 kB / 0.5968 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001527/0.009353, allocations: 198 kB / 0.597 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 7.701e-05/0.009437, allocations: 130.3 kB / 0.5971 GB, free: 476 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.009474, allocations: 19.94 kB / 0.5972 GB, free: 456 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.656e-05/0.009505, allocations: 4 kB / 0.5972 GB, free: 452 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 (27) * Number of variables: 37 (25) Notification: Performance of Bindings: time 0.0007003/0.01021, allocations: 0.6542 MB / 0.5978 GB, free: 15.68 MB / 462.1 MB Notification: Performance of FunctionAlias: time 8.381e-05/0.0103, allocations: 47.88 kB / 0.5979 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Early Inline: time 0.0003368/0.01064, allocations: 372 kB / 0.5982 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simplify1: time 2.964e-05/0.01068, allocations: 23.97 kB / 0.5982 GB, free: 15.22 MB / 462.1 MB Notification: Performance of Alias: time 0.000583/0.01127, allocations: 495.9 kB / 0.5987 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simplify2: time 1.993e-05/0.0113, allocations: 11.98 kB / 0.5987 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Events: time 6.699e-05/0.01137, allocations: 35.86 kB / 0.5988 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Detect States: time 9.893e-05/0.01148, allocations: 90.16 kB / 0.5988 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Partitioning: time 0.000138/0.01162, allocations: 116.2 kB / 0.5989 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Causalize: time 0.001022/0.01265, allocations: 0.9379 MB / 0.5999 GB, free: 13.41 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002631/0.01293, allocations: 256.4 kB / 0.6001 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Inline: time 0.0004025/0.01334, allocations: 461.2 kB / 0.6005 GB, free: 12.65 MB / 462.1 MB Notification: Performance of Partitioning: time 2.999e-05/0.01338, allocations: 36.05 kB / 0.6006 GB, free: 12.61 MB / 462.1 MB Notification: Performance of Cleanup: time 5.158e-05/0.01343, allocations: 51.95 kB / 0.6006 GB, free: 12.55 MB / 462.1 MB Notification: Performance of Causalize: time 0.001649/0.01509, allocations: 1.769 MB / 0.6024 GB, free: 10.79 MB / 462.1 MB Notification: Performance of Tearing: time 8.246e-06/0.01511, allocations: 4 kB / 0.6024 GB, free: 10.79 MB / 462.1 MB Notification: Performance of Initialization: time 8.31e-07/0.01511, allocations: 0.5625 kB / 0.6024 GB, free: 10.79 MB / 462.1 MB Notification: Performance of Tearing: time 3.016e-06/0.01512, allocations: 0 / 0.6024 GB, free: 10.79 MB / 462.1 MB Notification: Performance of Categorize: time 7.644e-06/0.01513, allocations: 0 / 0.6024 GB, free: 10.79 MB / 462.1 MB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNSOLVABLE) ----------------------------------------------------- ### Variable: loa.i[2] ### Equation: [SCAL] (1) 0.0 = sum(loa.i) ($RES_$AUX_32) slice: {}