Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01042/0.01042, allocations: 170.8 kB / 15.12 MB, free: 6.031 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.535/1.535, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009858/0.0009858, allocations: 94.89 kB / 269.6 MB, free: 13.34 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.7948/0.7948, allocations: 90.59 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004751, allocations: 8 kB / 485.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4235, allocations: 66.28 MB / 0.5386 GB, free: 45.53 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.05006/0.4736, allocations: 52.08 MB / 0.5894 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.4929, allocations: 12.84 MB / 0.602 GB, free: 4.785 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.4957, allocations: 30.12 kB / 0.602 GB, free: 4.773 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.4985, allocations: 0.619 MB / 0.6026 GB, free: 4.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.5116, allocations: 3.49 MB / 0.606 GB, free: 2.617 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01284/0.5245, allocations: 4.218 MB / 0.6101 GB, free: 104 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.5296, allocations: 1.894 MB / 0.612 GB, free: 14.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009056/0.5305, allocations: 419.4 kB / 0.6124 GB, free: 14.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.5438, allocations: 7.129 MB / 0.6193 GB, free: 9.172 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.5459, allocations: 0.8088 MB / 0.6201 GB, free: 8.359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.5462, allocations: 64 kB / 0.6202 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.5615, allocations: 5.789 MB / 0.6258 GB, free: 2.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.5621, allocations: 278.7 kB / 0.6261 GB, free: 2.227 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009238/0.563, allocations: 364.7 kB / 0.6265 GB, free: 1.863 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008322/0.5713, allocations: 3.476 MB / 0.6299 GB, free: 14.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.5713, allocations: 4 kB / 0.6299 GB, free: 14.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5714, allocations: 0 / 0.6299 GB, free: 14.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.5714, allocations: 0 / 0.6299 GB, free: 14.38 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005191/0.5766, allocations: 2.586 MB / 0.6324 GB, free: 11.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5766, allocations: 12.03 kB / 0.6324 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.5784, allocations: 341.4 kB / 0.6327 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5797, allocations: 0.7758 MB / 0.6335 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5799, allocations: 115 kB / 0.6336 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.5801, allocations: 163.8 kB / 0.6337 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003782/0.5839, allocations: 1.635 MB / 0.6353 GB, free: 8.582 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.584, allocations: 7.938 kB / 0.6353 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.5841, allocations: 60 kB / 0.6354 GB, free: 8.516 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.5842, allocations: 41.12 kB / 0.6354 GB, free: 8.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.5874, allocations: 1.221 MB / 0.6366 GB, free: 7.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009908/0.5973, allocations: 7.505 MB / 0.644 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.6008, allocations: 1.281 MB / 0.6452 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/0.6035, allocations: 2.244 MB / 0.6474 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.6036, allocations: 47.88 kB / 0.6475 GB, free: 11.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=141): time 4.158e-06/0.6036, allocations: 0 / 0.6475 GB, free: 11.16 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:265:5-265:157:writable] Error: Derivative of expression "ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.fore.Medium.ThermodynamicState(conductionElement1.rear.state_forwards.T, boundary_fore1.rear.state_forwards.p) = if not boundary_rear1.setEnthalpy then ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(boundary_rear1.T0, boundary_rear1.p0) else ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.T_ph(boundary_rear1.p0, boundary_rear1.h0), boundary_rear1.p0)" w.r.t. "time" is non-existent. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/Boundaries/BoundaryRear.mo:71:3-71:115:writable] Error: Internal error Differentiate.differentiateEquationTime failed for ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.fore.Medium.ThermodynamicState(conductionElement1.rear.state_forwards.T, boundary_fore1.rear.state_forwards.p) = if not boundary_rear1.setEnthalpy then ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(boundary_rear1.T0, boundary_rear1.p0) else ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.ThermodynamicState(ThermofluidStream.Undirected.Processes.Tests.ConductionElement.boundary_rear1.Medium.T_ph(boundary_rear1.p0, boundary_rear1.h0), boundary_rear1.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!