Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2164, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.09401/0.3104, allocations: 85.97 MB / 0.5062 GB, free: 448 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04184/0.3522, allocations: 31.15 MB / 0.5366 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.3539, allocations: 71.38 kB / 0.5366 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1987/0.5526, allocations: 1.227 MB / 0.5378 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.5632, allocations: 4.607 MB / 0.5423 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01807/0.5813, allocations: 8.576 MB / 0.5507 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00602/0.5873, allocations: 6.297 MB / 0.5569 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.589, allocations: 1.736 MB / 0.5586 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0089/0.5979, allocations: 5.877 MB / 0.5643 GB, free: 160 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.6005, allocations: 2.306 MB / 0.5666 GB, free: 36 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.6009, allocations: 258 kB / 0.5668 GB, free: 36 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01461/0.6155, allocations: 8.939 MB / 0.5755 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008428/0.6163, allocations: 0.8842 MB / 0.5764 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.6177, allocations: 1.161 MB / 0.5775 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.6299, allocations: 8.658 MB / 0.586 GB, free: 11.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6299, allocations: 2.938 kB / 0.586 GB, free: 11.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6299, allocations: 0 / 0.586 GB, free: 11.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.6299, allocations: 0 / 0.586 GB, free: 11.65 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.007953/0.6379, allocations: 3.437 MB / 0.5893 GB, free: 9.727 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.6379, allocations: 12.69 kB / 0.5893 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.6492, allocations: 1.02 MB / 0.5903 GB, free: 9.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.652, allocations: 1.349 MB / 0.5917 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.6524, allocations: 0.4928 MB / 0.5921 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.6528, allocations: 184 kB / 0.5923 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009066/0.6619, allocations: 4.278 MB / 0.5965 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/0.6619, allocations: 10.58 kB / 0.5965 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.6622, allocations: 85.59 kB / 0.5966 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.6623, allocations: 103.6 kB / 0.5967 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009108/0.6714, allocations: 3.447 MB / 0.6001 GB, free: 1.387 MB / 462.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.01983/0.6913, allocations: 10.37 MB / 0.6102 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00771/0.699, allocations: 2.733 MB / 0.6129 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002878/0.7019, allocations: 1.385 MB / 0.6142 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01802/0.7199, allocations: 4.529 MB / 0.6186 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.7199, allocations: 56.56 kB / 0.6187 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002407/0.7223, allocations: 412 kB / 0.6191 GB, free: 15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=175): time 5.26e-06/0.7224, allocations: 0 / 0.6191 GB, free: 15 MB / 494.1 MB Notification: Performance of matching and sorting (n=205): time 0.04079/0.7631, allocations: 11.68 MB / 0.6305 GB, free: 3.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7632, allocations: 150.5 kB / 0.6306 GB, free: 3.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.7647, allocations: 1.061 MB / 0.6317 GB, free: 2.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.7649, allocations: 65.7 kB / 0.6317 GB, free: 2.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.7655, allocations: 0.839 MB / 0.6325 GB, free: 1.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006735/0.7662, allocations: 0.7024 MB / 0.6332 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008351/0.767, allocations: 451.7 kB / 0.6337 GB, free: 124 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7672, allocations: 301.1 kB / 0.6339 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.77, allocations: 1.273 MB / 0.6352 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.7732, allocations: 1.78 MB / 0.6369 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005881/0.7791, allocations: 2.92 MB / 0.6398 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7791, allocations: 8 kB / 0.6398 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.00859/0.7877, allocations: 3.898 MB / 0.6436 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.7877, allocations: 19.78 kB / 0.6436 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.7877, allocations: 15.98 kB / 0.6436 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005375/0.7931, allocations: 1.583 MB / 0.6452 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.7952, allocations: 445.5 kB / 0.6456 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.8023, allocations: 6.689 MB / 0.6521 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.8042, allocations: 123.9 kB / 0.6522 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.8044, allocations: 115.9 kB / 0.6524 GB, free: 12.51 MB / 0.5137 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.0009944/0.8054, allocations: 0.5114 MB / 0.6529 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.8059, allocations: 182.9 kB / 0.653 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/0.8211, allocations: 9.885 MB / 0.6627 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/0.8211, allocations: 11.95 kB / 0.6627 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.8211, allocations: 0 / 0.6627 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.8224, allocations: 0.5867 MB / 0.6633 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004009/0.8228, allocations: 111.3 kB / 0.6634 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.8248, allocations: 183.7 kB / 0.6636 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/0.8253, allocations: 229.6 kB / 0.6638 GB, free: 0.7383 MB / 0.5137 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...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 " [Timeout remaining time 652] [Calling sys.exit(0), Time elapsed: 10.505713591999665] Failed to read output from testmodel.py, exit status != 0: ['time', 'T_onePort.T', 'T_twoPort.T', 'T_junction.T'] 8.398139801996876 8.412232528 7.779131071 Calling exit ...