Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2124, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.08055/0.293, allocations: 94.24 MB / 0.4924 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03703/0.33, allocations: 34.4 MB / 0.5259 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.3318, allocations: 55.69 kB / 0.526 GB, free: 460 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.3346, allocations: 1.324 MB / 0.5273 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009982/0.3446, allocations: 4.58 MB / 0.5318 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01996/0.3646, allocations: 8.738 MB / 0.5403 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.2075/0.5722, allocations: 6.204 MB / 0.5464 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.5744, allocations: 2.009 MB / 0.5483 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.5847, allocations: 5.826 MB / 0.554 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.5873, allocations: 2.155 MB / 0.5561 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.5877, allocations: 260.5 kB / 0.5564 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/0.6027, allocations: 9.156 MB / 0.5653 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007569/0.6034, allocations: 0.8547 MB / 0.5661 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.6049, allocations: 1.352 MB / 0.5675 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.6176, allocations: 8.711 MB / 0.576 GB, free: 9.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6176, allocations: 0 / 0.576 GB, free: 9.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6176, allocations: 0 / 0.576 GB, free: 9.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.349e-05/0.6177, allocations: 0 / 0.576 GB, free: 9.977 MB / 462.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.007075/0.6248, allocations: 3.541 MB / 0.5794 GB, free: 24.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6248, allocations: 8.469 kB / 0.5794 GB, free: 24.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.6355, allocations: 1.222 MB / 0.5806 GB, free: 24.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.6376, allocations: 1.42 MB / 0.582 GB, free: 23.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.6378, allocations: 347.8 kB / 0.5823 GB, free: 23.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.6381, allocations: 185.6 kB / 0.5825 GB, free: 23.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007202/0.6454, allocations: 3.413 MB / 0.5859 GB, free: 22.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.6454, allocations: 13.61 kB / 0.5859 GB, free: 22.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.6457, allocations: 83.81 kB / 0.5859 GB, free: 22.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.6458, allocations: 104.9 kB / 0.586 GB, free: 22.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007746/0.6535, allocations: 3.403 MB / 0.5894 GB, free: 22.07 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.01759/0.6711, allocations: 14.37 MB / 0.6034 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006933/0.6781, allocations: 2.813 MB / 0.6061 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/0.6806, allocations: 1.42 MB / 0.6075 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04853/0.7291, allocations: 26.95 MB / 0.6339 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.7292, allocations: 64.19 kB / 0.6339 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001802/0.731, allocations: 336.9 kB / 0.6342 GB, free: 9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=175): time 4.398e-06/0.731, allocations: 0 / 0.6342 GB, free: 9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=205): time 0.0371/0.7681, allocations: 12.01 MB / 0.646 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.7682, allocations: 154.5 kB / 0.6461 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.7701, allocations: 1.416 MB / 0.6475 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.7704, allocations: 65.7 kB / 0.6476 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.7709, allocations: 0.8026 MB / 0.6483 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/0.7715, allocations: 0.7048 MB / 0.649 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/0.7723, allocations: 447.8 kB / 0.6495 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.7724, allocations: 309 kB / 0.6498 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.775, allocations: 1.269 MB / 0.651 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/0.7779, allocations: 1.705 MB / 0.6527 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005739/0.7836, allocations: 2.916 MB / 0.6555 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.7837, allocations: 4 kB / 0.6555 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.0086/0.7923, allocations: 3.948 MB / 0.6594 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.7923, allocations: 11.98 kB / 0.6594 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.7924, allocations: 12 kB / 0.6594 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004996/0.7974, allocations: 1.575 MB / 0.6609 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.7995, allocations: 451.3 kB / 0.6614 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.8057, allocations: 6.704 MB / 0.6679 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.8079, allocations: 123.9 kB / 0.668 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003349/0.8083, allocations: 115.9 kB / 0.6681 GB, free: 8.473 MB / 0.5294 GB 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.001156/0.8094, allocations: 0.5043 MB / 0.6686 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/0.81, allocations: 206.7 kB / 0.6688 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.8244, allocations: 9.832 MB / 0.6784 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.8245, allocations: 11.95 kB / 0.6784 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8245, allocations: 0 / 0.6784 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.8258, allocations: 0.7009 MB / 0.6791 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/0.8263, allocations: 118.6 kB / 0.6792 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/0.8286, allocations: 203.7 kB / 0.6794 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/0.8291, allocations: 221.7 kB / 0.6796 GB, free: 12.59 MB / 0.545 GB [/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.traverseExpTopDownSubs) [bt] #4...5 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDownCrefHelper) [bt] #6...12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDown1) [bt] #13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.expHasCref) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateFunctionCall) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateCalls) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #17 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [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.differentiateExpSolve) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveLinearSystem) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveWork) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionSolve.solveIfExp) [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.solve) [bt] #31...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