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.001079/0.001079, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 210.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.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2026, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.08195/0.2845, allocations: 94.24 MB / 0.4924 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03748/0.322, allocations: 34.39 MB / 0.5259 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.3239, allocations: 51.69 kB / 0.526 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.3268, allocations: 1.324 MB / 0.5273 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00983/0.3366, allocations: 4.525 MB / 0.5317 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01978/0.3564, allocations: 8.731 MB / 0.5402 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.2041/0.5605, allocations: 6.187 MB / 0.5463 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.563, allocations: 2.001 MB / 0.5482 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/0.5735, allocations: 5.814 MB / 0.5539 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.5764, allocations: 2.167 MB / 0.556 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004649/0.5769, allocations: 260.6 kB / 0.5563 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01479/0.5917, allocations: 9.153 MB / 0.5652 GB, free: 11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007914/0.5925, allocations: 0.8588 MB / 0.566 GB, free: 11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.5941, allocations: 1.356 MB / 0.5674 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.6068, allocations: 8.676 MB / 0.5758 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6068, allocations: 0 / 0.5758 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6069, allocations: 0 / 0.5758 GB, free: 10.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.763e-05/0.6069, allocations: 3.938 kB / 0.5758 GB, free: 10.23 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.007713/0.6146, allocations: 3.434 MB / 0.5792 GB, free: 24.72 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.6147, allocations: 11.19 kB / 0.5792 GB, free: 24.72 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.6251, allocations: 1.215 MB / 0.5804 GB, free: 24.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.6274, allocations: 1.401 MB / 0.5818 GB, free: 24.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.6276, allocations: 353.3 kB / 0.5821 GB, free: 23.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.6279, allocations: 188.7 kB / 0.5823 GB, free: 23.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/0.635, allocations: 3.416 MB / 0.5856 GB, free: 23.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.635, allocations: 10.98 kB / 0.5856 GB, free: 23.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.6353, allocations: 82.2 kB / 0.5857 GB, free: 23.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.6354, allocations: 104 kB / 0.5858 GB, free: 23.22 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007566/0.643, allocations: 3.409 MB / 0.5891 GB, free: 22.47 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.0171/0.6601, allocations: 14.36 MB / 0.6031 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/0.6671, allocations: 2.803 MB / 0.6059 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002435/0.6695, allocations: 1.422 MB / 0.6073 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05125/0.7208, allocations: 26.94 MB / 0.6336 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.7209, allocations: 55.44 kB / 0.6336 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001798/0.7227, allocations: 331.8 kB / 0.634 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=175): time 3.978e-06/0.7227, allocations: 0 / 0.634 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=205): time 0.03757/0.7603, allocations: 11.98 MB / 0.6457 GB, free: 148 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.7604, allocations: 154.5 kB / 0.6458 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.7622, allocations: 1.412 MB / 0.6472 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.7624, allocations: 69.36 kB / 0.6473 GB, free: 14.47 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/0.763, allocations: 0.7857 MB / 0.648 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.7636, allocations: 0.6693 MB / 0.6487 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007457/0.7643, allocations: 451.6 kB / 0.6491 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.7644, allocations: 305.1 kB / 0.6494 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.767, allocations: 1.265 MB / 0.6506 GB, free: 11 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.7699, allocations: 1.709 MB / 0.6523 GB, free: 9.125 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/0.7754, allocations: 2.917 MB / 0.6551 GB, free: 6.098 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.7754, allocations: 4 kB / 0.6551 GB, free: 6.094 MB / 0.5138 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.008074/0.7835, allocations: 3.936 MB / 0.659 GB, free: 2.191 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7835, allocations: 8 kB / 0.659 GB, free: 2.184 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.7835, allocations: 16.12 kB / 0.659 GB, free: 2.168 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004936/0.7885, allocations: 1.573 MB / 0.6606 GB, free: 0.5781 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.7905, allocations: 450 kB / 0.661 GB, free: 164 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006233/0.7968, allocations: 6.701 MB / 0.6675 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.7988, allocations: 128.1 kB / 0.6676 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.799, allocations: 115.9 kB / 0.6678 GB, free: 9.016 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.0009905/0.8, allocations: 0.5137 MB / 0.6683 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.8005, allocations: 193.8 kB / 0.6684 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.8141, allocations: 9.807 MB / 0.678 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.8141, allocations: 11.95 kB / 0.678 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.8141, allocations: 4 kB / 0.678 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.8155, allocations: 0.6834 MB / 0.6787 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003918/0.8159, allocations: 119 kB / 0.6788 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/0.818, allocations: 203.7 kB / 0.679 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/0.8185, allocations: 221.9 kB / 0.6792 GB, free: 13.17 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.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...13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDown1) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.expHasCref) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateFunctionCall) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateCalls) [bt] #17 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateBinary) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Differentiate.differentiateExp) [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 [...] Error: Internal error SimCode DAEmode: The model Modelica.Fluid.Examples.Explanatory.MeasuringTemperature could not be translated