Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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 3.2.3+maint.om/package.mo", uses=false) 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) 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_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_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001072, allocations: 110.6 kB / 18.4 MB, free: 4.688 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.001114/0.001114, allocations: 186.2 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06954/0.0707, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.245/0.3157, allocations: 93.95 MB / 469.8 MB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03945/0.3552, allocations: 34.34 MB / 0.4923 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.3573, allocations: 51.69 kB / 0.4923 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.3611, allocations: 1.324 MB / 0.4936 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.3733, allocations: 4.503 MB / 0.498 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02072/0.394, allocations: 8.699 MB / 0.5065 GB, free: 444 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007453/0.4015, allocations: 6.179 MB / 0.5126 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.4044, allocations: 2.004 MB / 0.5145 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.416, allocations: 5.764 MB / 0.5201 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/0.4193, allocations: 2.149 MB / 0.5222 GB, free: 252 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000676/0.42, allocations: 260 kB / 0.5225 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.4374, allocations: 9.135 MB / 0.5314 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000975/0.4384, allocations: 0.8454 MB / 0.5322 GB, free: 6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.4401, allocations: 1.361 MB / 0.5336 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.454, allocations: 8.648 MB / 0.542 GB, free: 11.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.454, allocations: 0 / 0.542 GB, free: 11.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4541, allocations: 0 / 0.542 GB, free: 11.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.4541, allocations: 0 / 0.542 GB, free: 11.96 MB / 478.1 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.006995/0.4611, allocations: 3.44 MB / 0.5454 GB, free: 8.465 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4611, allocations: 11.89 kB / 0.5454 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4717, allocations: 1.208 MB / 0.5466 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.4739, allocations: 1.404 MB / 0.5479 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.4742, allocations: 346.3 kB / 0.5483 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.4745, allocations: 192.3 kB / 0.5485 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007549/0.4821, allocations: 3.41 MB / 0.5518 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.4821, allocations: 11.84 kB / 0.5518 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.4824, allocations: 83.97 kB / 0.5519 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.4825, allocations: 111.3 kB / 0.552 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1569/0.6394, allocations: 3.399 MB / 0.5553 GB, free: 157.2 MB / 478.1 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.01956/0.659, allocations: 14.33 MB / 0.5693 GB, free: 148.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006712/0.6657, allocations: 2.821 MB / 0.5721 GB, free: 147.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/0.668, allocations: 1.43 MB / 0.5734 GB, free: 146.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04287/0.7109, allocations: 24.37 MB / 0.5972 GB, free: 128.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.711, allocations: 60.34 kB / 0.5973 GB, free: 128.1 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00177/0.7128, allocations: 325.4 kB / 0.5976 GB, free: 127.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=175): time 4.479e-06/0.7128, allocations: 0 / 0.5976 GB, free: 127.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=205): time 0.03377/0.7466, allocations: 11.99 MB / 0.6093 GB, free: 118.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.7466, allocations: 150.5 kB / 0.6095 GB, free: 118.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.748, allocations: 1.412 MB / 0.6108 GB, free: 116.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.7482, allocations: 69.7 kB / 0.6109 GB, free: 116.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.7486, allocations: 0.7888 MB / 0.6117 GB, free: 116.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/0.749, allocations: 0.6594 MB / 0.6123 GB, free: 115.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006384/0.7496, allocations: 451.7 kB / 0.6128 GB, free: 115 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.033e-05/0.7497, allocations: 305.1 kB / 0.613 GB, free: 114.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.7518, allocations: 1.265 MB / 0.6143 GB, free: 113.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.7542, allocations: 1.701 MB / 0.6159 GB, free: 111.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/0.7587, allocations: 2.92 MB / 0.6188 GB, free: 108.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.7587, allocations: 4 kB / 0.6188 GB, free: 108.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006794/0.7655, allocations: 3.942 MB / 0.6226 GB, free: 104.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.7655, allocations: 11.94 kB / 0.6227 GB, free: 104.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.7656, allocations: 15.94 kB / 0.6227 GB, free: 104.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.7698, allocations: 1.576 MB / 0.6242 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.7716, allocations: 459.3 kB / 0.6247 GB, free: 102.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.7761, allocations: 6.688 MB / 0.6312 GB, free: 95.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.778, allocations: 119.9 kB / 0.6313 GB, free: 95.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.7782, allocations: 124 kB / 0.6314 GB, free: 95.28 MB / 478.1 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 (mFlow3.medium.phase,openTankHot3.inFlow[1],openTankHot3.regularFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankCold3.inFlow[1],openTankCold3.regularFlow[1],openTankCold3.heatTransfer.states[1].phase,mFlow2.medium.phase,mFlow1.medium.phase,openTankHot2.inFlow[1],openTankHot2.regularFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot1.inFlow[1],openTankHot1.regularFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankCold1.inFlow[1],openTankCold1.regularFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold2.inFlow[1],openTankCold2.regularFlow[1],openTankCold2.heatTransfer.states[1].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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(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.0008387/0.779, allocations: 0.5137 MB / 0.6319 GB, free: 94.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/0.7794, allocations: 193.8 kB / 0.6321 GB, free: 94.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.7905, allocations: 9.813 MB / 0.6417 GB, free: 84.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.7906, allocations: 11.95 kB / 0.6417 GB, free: 84.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7906, allocations: 4 kB / 0.6417 GB, free: 84.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009992/0.7916, allocations: 0.6835 MB / 0.6424 GB, free: 83.92 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/0.792, allocations: 111 kB / 0.6425 GB, free: 83.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.7938, allocations: 199.8 kB / 0.6427 GB, free: 83.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.7942, allocations: 221.7 kB / 0.6429 GB, free: 83.4 MB / 478.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:161:5-161: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.traversingexpHasCref) [bt] #4 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(boxptr_Expression_traversingexpHasCref) [bt] #5 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDownSubs) [bt] #6...7 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDownCrefHelper) [bt] #8...14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDown1) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.expHasCref) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateFunctionCall) [bt] #17 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateCalls) [bt] #18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExpSolve) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveLinearSystem) [bt] #29 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveWork) [bt] #30 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveIfExp) [bt] #31 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveWork) [bt] #32 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solve) [bt] #33...1024 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(DAEMode.traverserStrongComponents) [bt] #1025 [...] Error: Internal error SimCode DAEmode: The model Modelica.Fluid.Examples.Explanatory.MeasuringTemperature could not be translated