Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006411/0.006412, allocations: 173.1 kB / 15.12 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001166, allocations: 90.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8522/0.8522, allocations: 90.59 MB / 408.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8 kB / 485.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4273, allocations: 66.28 MB / 0.5386 GB, free: 45.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.04593/0.4733, allocations: 47.98 MB / 0.5854 GB, free: 16.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.4909, allocations: 12.31 MB / 0.5974 GB, free: 8.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.4929, allocations: 21.62 kB / 0.5975 GB, free: 8.152 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.4949, allocations: 0.5627 MB / 0.598 GB, free: 7.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.5057, allocations: 2.96 MB / 0.6009 GB, free: 6.445 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006458/0.5122, allocations: 1.727 MB / 0.6026 GB, free: 5.691 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.5162, allocations: 1.295 MB / 0.6038 GB, free: 5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000789/0.517, allocations: 395.8 kB / 0.6042 GB, free: 4.863 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/0.5248, allocations: 3.369 MB / 0.6075 GB, free: 3.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.5262, allocations: 0.6293 MB / 0.6081 GB, free: 3.211 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.5264, allocations: 59.22 kB / 0.6082 GB, free: 3.211 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.5381, allocations: 5.344 MB / 0.6134 GB, free: 15.24 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.5387, allocations: 227.1 kB / 0.6136 GB, free: 15.02 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.5395, allocations: 277 kB / 0.6139 GB, free: 14.74 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007149/0.5467, allocations: 2.359 MB / 0.6162 GB, free: 12.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5467, allocations: 3.938 kB / 0.6162 GB, free: 12.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5467, allocations: 0 / 0.6162 GB, free: 12.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.984e-05/0.5468, allocations: 0 / 0.6162 GB, free: 12.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005825/0.5527, allocations: 1.93 MB / 0.6181 GB, free: 10.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5527, allocations: 8.031 kB / 0.6181 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.5546, allocations: 254.8 kB / 0.6183 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.5562, allocations: 0.6471 MB / 0.619 GB, free: 9.445 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.5563, allocations: 90.17 kB / 0.619 GB, free: 9.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/0.5567, allocations: 123.9 kB / 0.6192 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.5603, allocations: 1.304 MB / 0.6204 GB, free: 7.887 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.5604, allocations: 4 kB / 0.6204 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.5605, allocations: 44 kB / 0.6205 GB, free: 7.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.599e-05/0.5606, allocations: 46.25 kB / 0.6205 GB, free: 7.793 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.5636, allocations: 1.113 MB / 0.6216 GB, free: 6.672 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009766/0.5734, allocations: 5.237 MB / 0.6267 GB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.5761, allocations: 1.238 MB / 0.6279 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.5782, allocations: 2.368 MB / 0.6302 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.5782, allocations: 47.52 kB / 0.6303 GB, free: 12.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=106): time 4.158e-06/0.5783, allocations: 4 kB / 0.6303 GB, free: 12.81 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:265:5-265:157:writable] Error: Derivative of expression "ThermofluidStream.Processes.Tests.ConductionElement.source2.outlet.Medium.ThermodynamicState(conductionElement4.inlet.state.T, conductionElement4.p_in) = if not source2.setEnthalpy then ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(source2.T0, source2.p0) else ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.T_ph(source2.p0, source2.h0), source2.p0)" w.r.t. "time" is non-existent. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Boundaries/Source.mo:66:3-66:111:writable] Error: Internal error Differentiate.differentiateEquationTime failed for ThermofluidStream.Processes.Tests.ConductionElement.source2.outlet.Medium.ThermodynamicState(conductionElement4.inlet.state.T, conductionElement4.p_in) = if not source2.setEnthalpy then ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(source2.T0, source2.p0) else ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.ThermodynamicState(ThermofluidStream.Processes.Tests.ConductionElement.source2.Medium.T_ph(source2.p0, source2.h0), source2.p0) Error: Internal error - IndexReduction.pantelidesIndexReduction1 failed! Use -d=bltdump to get more information. Error: Internal error - IndexReduction.pantelidesIndexReduction failed! Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!