Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 112.9 kB / 16.38 MB, free: 6 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.001205/0.001205, allocations: 187.9 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 291.5 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9503/0.9503, allocations: 169.3 MB / 0.4989 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.255e-05, allocations: 2.281 kB / 0.5966 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005481/0.005531, allocations: 4.05 MB / 0.6005 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.00835, allocations: 2.425 MB / 0.6029 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.008446, allocations: 0 / 0.6029 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.008737, allocations: 55.59 kB / 0.603 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.009014, allocations: 97.8 kB / 0.6031 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.01029, allocations: 0.5094 MB / 0.6035 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.01063, allocations: 291.6 kB / 0.6038 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.01068, allocations: 9.125 kB / 0.6038 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.01092, allocations: 120.6 kB / 0.6039 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.01106, allocations: 91.59 kB / 0.604 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.01109, allocations: 8 kB / 0.604 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.01179, allocations: 452.9 kB / 0.6045 GB, free: 6.488 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0002146/0.01201, allocations: 277.1 kB / 0.6047 GB, free: 6.215 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001083/0.01212, allocations: 177.2 kB / 0.6049 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.01216, allocations: 27.88 kB / 0.6049 GB, free: 6.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-05/0.01218, allocations: 0.6875 kB / 0.6049 GB, free: 6.016 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 (36) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.0008939/0.01308, allocations: 0.8722 MB / 0.6058 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FunctionAlias: time 3.886e-05/0.01313, allocations: 25.38 kB / 0.6058 GB, free: 5.031 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0009178/0.01405, allocations: 0.764 MB / 0.6066 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simplify1: time 7.495e-05/0.01414, allocations: 77.91 kB / 0.6066 GB, free: 4.188 MB / 414.1 MB Notification: Performance of Alias: time 0.0007024/0.01485, allocations: 0.5825 MB / 0.6072 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simplify2: time 7.694e-05/0.01493, allocations: 79.91 kB / 0.6073 GB, free: 3.41 MB / 414.1 MB Notification: Performance of Events: time 0.0002005/0.01514, allocations: 135.1 kB / 0.6074 GB, free: 3.277 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002027/0.01535, allocations: 195.9 kB / 0.6076 GB, free: 3.074 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003052/0.01566, allocations: 266 kB / 0.6078 GB, free: 2.762 MB / 414.1 MB Notification: Performance of Causalize: time 0.001353/0.01702, allocations: 1.25 MB / 0.6091 GB, free: 1.473 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004994/0.01753, allocations: 0.5457 MB / 0.6096 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of Inline: time 0.0009095/0.01845, allocations: 0.9854 MB / 0.6106 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Partitioning: time 3.591e-05/0.01849, allocations: 26.38 kB / 0.6106 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Cleanup: time 5.587e-05/0.01856, allocations: 59.84 kB / 0.6106 GB, free: 15.79 MB / 430.1 MB Notification: Performance of Causalize: time 0.001324/0.01988, allocations: 1.159 MB / 0.6118 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Tearing: time 6.993e-06/0.0199, allocations: 0 / 0.6118 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Initialization: time 3.5e-07/0.01991, allocations: 4.25 kB / 0.6118 GB, free: 14.63 MB / 430.1 MB Notification: Performance of Tearing: time 3.586e-06/0.01992, allocations: 3.938 kB / 0.6118 GB, free: 14.63 MB / 430.1 MB Notification: Performance of Categorize: time 1.26e-05/0.01994, allocations: 3.938 kB / 0.6118 GB, free: 14.62 MB / 430.1 MB Notification: Performance of Solve: time 0.000252/0.02019, allocations: 173.5 kB / 0.612 GB, free: 14.45 MB / 430.1 MB Notification: Performance of Jacobian: time 3.908e-06/0.02021, allocations: 3.938 kB / 0.612 GB, free: 14.45 MB / 430.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * 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: ................. 10 (10) {$SEV_9, $SEV_8, $SEV_7[$i1], $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:36, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 38 (scalar:36, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: Performance of backend: time 4.424e-05/0.02025, allocations: 26.17 kB / 0.612 GB, free: 14.44 MB / 430.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_26) [----] BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.checkState(state_pTX, state_phX, errAbs, "state_phX");