Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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) 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(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002075/0.002075, allocations: 177.4 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.001106/0.001106, allocations: 92.92 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004339, allocations: 8 kB / 328.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3852, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.09048/0.4758, allocations: 88.8 MB / 464.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05347/0.5294, allocations: 32.46 MB / 497 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005554/0.535, allocations: 67.44 kB / 497.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0062/0.5412, allocations: 1.115 MB / 498.2 MB, free: 5.992 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02205/0.5633, allocations: 4.045 MB / 0.4904 GB, free: 1.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.4487/1.012, allocations: 7.02 MB / 0.4973 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01439/1.026, allocations: 7.372 MB / 0.5045 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005209/1.032, allocations: 1.755 MB / 0.5062 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02396/1.056, allocations: 7.824 MB / 0.5139 GB, free: 12.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007536/1.063, allocations: 2.065 MB / 0.5159 GB, free: 12.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00203/1.065, allocations: 139.1 kB / 0.516 GB, free: 12.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0304/1.096, allocations: 8.646 MB / 0.5245 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003269/1.099, allocations: 0.7095 MB / 0.5251 GB, free: 12.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006572/1.106, allocations: 1.209 MB / 0.5263 GB, free: 12.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02019/1.126, allocations: 6.104 MB / 0.5323 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/1.126, allocations: 4 kB / 0.5323 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.829e-06/1.126, allocations: 4 kB / 0.5323 GB, free: 8.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002452/1.126, allocations: 0 / 0.5323 GB, free: 8.973 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01424/1.141, allocations: 2.959 MB / 0.5352 GB, free: 6.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.901e-05/1.141, allocations: 8.031 kB / 0.5352 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/1.152, allocations: 1.263 MB / 0.5364 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004637/1.157, allocations: 1.335 MB / 0.5377 GB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005671/1.157, allocations: 348.8 kB / 0.5381 GB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/1.158, allocations: 188 kB / 0.5382 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/1.171, allocations: 3.488 MB / 0.5416 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/1.171, allocations: 6 kB / 0.5417 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008874/1.172, allocations: 86.94 kB / 0.5417 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/1.172, allocations: 102.6 kB / 0.5418 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/1.183, allocations: 3.517 MB / 0.5453 GB, free: 14.07 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/1.216, allocations: 14.45 MB / 0.5594 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008693/1.224, allocations: 2.908 MB / 0.5622 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003469/1.228, allocations: 1.469 MB / 0.5637 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05573/1.284, allocations: 24.53 MB / 0.5876 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/1.284, allocations: 54.75 kB / 0.5877 GB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003815/1.288, allocations: 452.2 kB / 0.5881 GB, free: 3.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=175): time 2.492e-05/1.288, allocations: 0 / 0.5881 GB, free: 3.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=205): time 0.04913/1.337, allocations: 12.46 MB / 0.6003 GB, free: 9.359 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.337, allocations: 153.4 kB / 0.6004 GB, free: 9.184 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003535/1.341, allocations: 1.391 MB / 0.6018 GB, free: 8.129 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005785/1.341, allocations: 66.08 kB / 0.6018 GB, free: 8.086 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009943/1.342, allocations: 0.7858 MB / 0.6026 GB, free: 7.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/1.344, allocations: 0.6783 MB / 0.6033 GB, free: 7.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/1.344, allocations: 42.19 kB / 0.6033 GB, free: 7.012 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000368/1.345, allocations: 383.6 kB / 0.6037 GB, free: 6.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/1.348, allocations: 1.299 MB / 0.6049 GB, free: 5.789 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004028/1.352, allocations: 1.734 MB / 0.6066 GB, free: 4.355 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006857/1.359, allocations: 2.998 MB / 0.6096 GB, free: 2.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/1.359, allocations: 3.938 kB / 0.6096 GB, free: 2.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01033/1.369, allocations: 4.027 MB / 0.6135 GB, free: 15.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/1.37, allocations: 12.19 kB / 0.6135 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/1.37, allocations: 12 kB / 0.6135 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005305/1.375, allocations: 1.591 MB / 0.6151 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.377, allocations: 474.3 kB / 0.6155 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/1.386, allocations: 6.682 MB / 0.622 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/1.389, allocations: 222.9 kB / 0.6223 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007077/1.39, allocations: 120.2 kB / 0.6224 GB, free: 7.262 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.002321/1.392, allocations: 0.5117 MB / 0.6229 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.393, allocations: 193.8 kB / 0.6231 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.413, allocations: 9.975 MB / 0.6328 GB, free: 8 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/1.413, allocations: 12.41 kB / 0.6328 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.413, allocations: 1 kB / 0.6328 GB, free: 0 / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002836/1.416, allocations: 0.9026 MB / 0.6337 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009867/1.417, allocations: 44.5 kB / 0.6337 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003351/1.42, allocations: 321.6 kB / 0.634 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007937/1.421, allocations: 224.5 kB / 0.6343 GB, free: 14.79 MB / 474.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:155:5-155:157:writable] Error: Internal error Stack overflow in DAEMode.getEqSystemDAEmode... [bt] #1 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.isConstValue) [bt] #4 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplifyBinary) [bt] #5 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplifyWork) [bt] #6...9 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpBottomUp) [bt] #10 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplify1FixP) [bt] #11 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplify1) [bt] #12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplifyBinaryCommutativeWork) [bt] #13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplifyBinary) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplifyWork) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpBottomUp) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpList) [bt] #17...22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpBottomUp) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplify1FixP) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplifyWithOptions) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSimplify.simplify) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExpSolve) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveLinearSystem) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveWork) [bt] #29 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveIfExp) [bt] #30 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveWork) [bt] #31 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solve) [bt] #32...1024 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(DAEMode.traverserStrongComponents) [bt] #1025 [...]