Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.LightingControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Buildings.Components.Examples.LightingControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.LightingControl") translateModel(IDEAS.Buildings.Components.Examples.LightingControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.LightingControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01009/0.01009, allocations: 174.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003718, allocations: 8.734 kB / 0.504 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4498, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.LightingControl): time 28.65/29.1, allocations: 6.962 GB / 7.546 GB, free: 4.145 MB / 3.201 GB Notification: Performance of NFInst.instExpressions: time 16.04/45.14, allocations: 2.534 GB / 10.08 GB, free: 0.6953 MB / 4.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.141/46.28, allocations: 14.11 MB / 10.09 GB, free: 0.6953 MB / 4.295 GB Notification: Performance of NFTyping.typeComponents: time 0.08035/46.36, allocations: 25.59 MB / 10.12 GB, free: 380 kB / 4.295 GB Notification: Performance of NFTyping.typeBindings: time 0.1401/46.5, allocations: 31.2 MB / 10.15 GB, free: 15.97 MB / 4.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.0934/46.59, allocations: 24.38 MB / 10.17 GB, free: 15.85 MB / 4.311 GB Notification: Performance of NFFlatten.flatten: time 0.2216/46.82, allocations: 135.2 MB / 10.3 GB, free: 6.148 MB / 4.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2656/47.08, allocations: 92.1 MB / 10.39 GB, free: 12.35 MB / 4.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1472/47.23, allocations: 42.04 MB / 10.44 GB, free: 0 / 4.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1219/47.35, allocations: 42.29 MB / 10.48 GB, free: 15.92 MB / 4.389 GB Notification: Performance of NFPackage.collectConstants: time 0.03932/47.39, allocations: 3.348 MB / 10.48 GB, free: 12.57 MB / 4.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08689/47.48, allocations: 12.82 MB / 10.49 GB, free: 3.32 MB / 4.389 GB Notification: Performance of NFScalarize.scalarize: time 0.04761/47.52, allocations: 17.36 MB / 10.51 GB, free: 6.582 MB / 4.404 GB Notification: Performance of NFVerifyModel.verify: time 0.129/47.65, allocations: 45.45 MB / 10.55 GB, free: 7.434 MB / 4.436 GB Notification: Performance of NFConvertDAE.convert: time 0.2523/47.91, allocations: 175.3 MB / 10.72 GB, free: 13.57 MB / 4.592 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/47.91, allocations: 4 kB / 10.72 GB, free: 13.56 MB / 4.592 GB Notification: Performance of FrontEnd: time 3.897e-06/47.91, allocations: 6.516 kB / 10.72 GB, free: 13.56 MB / 4.592 GB Notification: Performance of Transformations before backend: time 0.007841/47.91, allocations: 0 / 10.72 GB, free: 13.56 MB / 4.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14205 * Number of variables: 14205 Notification: Performance of Generate backend data structure: time 0.2762/48.19, allocations: 89.82 MB / 10.81 GB, free: 3.992 MB / 4.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/48.19, allocations: 8.031 kB / 10.81 GB, free: 3.984 MB / 4.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07717/48.27, allocations: 13.76 MB / 10.83 GB, free: 6.102 MB / 4.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3167/48.58, allocations: 126.1 MB / 10.95 GB, free: 10.64 MB / 4.811 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00598/48.59, allocations: 5.14 MB / 10.95 GB, free: 5.332 MB / 4.811 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0263/48.62, allocations: 5.568 MB / 10.96 GB, free: 15.77 MB / 4.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2492/48.87, allocations: 66.93 MB / 11.02 GB, free: 11.86 MB / 4.889 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002747/48.87, allocations: 57.81 kB / 11.03 GB, free: 11.83 MB / 4.889 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02143/48.89, allocations: 2.214 MB / 11.03 GB, free: 9.617 MB / 4.889 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001704/48.89, allocations: 1.732 MB / 11.03 GB, free: 7.887 MB / 4.889 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1604/49.05, allocations: 51.69 MB / 11.08 GB, free: 4.5 MB / 4.936 GB 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.6675/49.72, allocations: 343.4 MB / 11.41 GB, free: 8.199 MB / 5.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06983/49.79, allocations: 37.18 MB / 11.45 GB, free: 1.367 MB / 5.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0328/49.82, allocations: 15.21 MB / 11.47 GB, free: 1.895 MB / 5.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004381/49.83, allocations: 2.321 MB / 11.47 GB, free: 15.19 MB / 5.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03841/49.86, allocations: 15.38 MB / 11.48 GB, free: 15.05 MB / 5.373 GB Notification: Performance of pre-optimization done (n=1626): time 5.066e-05/49.87, allocations: 0 / 11.48 GB, free: 15.05 MB / 5.373 GB Warning: Out of memory! Faking a stack overflow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7708:3-7708:155:writable] Error: Internal error Stack overflow in BackendDAEUtil.getSolvedSystem... [bt] #1 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(GC.set.max.heap.size) [bt] #4 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so() [bt] #5 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(IndexReduction.replaceDummyDerivativesVar) [bt] #6 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.traverseBackendDAEVarsWithUpdate2) [bt] #7 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.traverseArrayNoCopyWithUpdate) [bt] #8 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.traverseBackendDAEVarsWithUpdate) [bt] #9 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(IndexReduction.replaceDummyDerivatives) [bt] #10 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(List.map1Fold) [bt] #11 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(IndexReduction.dynamicStateSelection) [bt] #12 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.causalizeDAE) [bt] #13 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.getSolvedSystem) [bt] #14 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModel) [bt] #15 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.callTranslateModel) [bt] #16 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.translateModel) [bt] #17 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.cevalInteractiveFunctions3) [bt] #18 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions2) [bt] #19 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions) [bt] #20 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #21 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #22 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #23 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #24 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #25 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #26 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #27 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #28 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #29 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #30 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(__omc_main) [bt] #31 /lib/x86_64-linux-gnu/libc.so.6() [bt] #32 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) [bt] #33 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc()