Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.NumberOccupants.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.NumberOccupants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.NumberOccupants") translateModel(IDEAS.Buildings.Components.Examples.NumberOccupants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.NumberOccupants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000755/0.0007549, allocations: 92.23 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007803/0.0007804, allocations: 182.2 kB / 16.92 MB, free: 6.926 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.31/1.31, allocations: 223.2 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.749/0.749, allocations: 132.3 MB / 424.4 MB, free: 1.934 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 8.562 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5414, allocations: 81.58 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.NumberOccupants): time 23.95/24.49, allocations: 6.962 GB / 7.546 GB, free: 3.98 MB / 3.201 GB Notification: Performance of NFInst.instExpressions: time 13.63/38.12, allocations: 2.534 GB / 10.08 GB, free: 0.5312 MB / 4.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.007/39.12, allocations: 14.12 MB / 10.09 GB, free: 0.5312 MB / 4.279 GB Notification: Performance of NFTyping.typeComponents: time 0.07317/39.2, allocations: 25.58 MB / 10.12 GB, free: 196 kB / 4.279 GB Notification: Performance of NFTyping.typeBindings: time 0.1293/39.33, allocations: 31.21 MB / 10.15 GB, free: 15.79 MB / 4.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.08977/39.42, allocations: 24.4 MB / 10.17 GB, free: 15.67 MB / 4.295 GB Notification: Performance of NFFlatten.flatten: time 0.1998/39.62, allocations: 135.2 MB / 10.31 GB, free: 3.168 MB / 4.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2324/39.85, allocations: 92.54 MB / 10.4 GB, free: 8.406 MB / 4.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.119/39.97, allocations: 41.94 MB / 10.44 GB, free: 7.395 MB / 4.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09954/40.07, allocations: 42.29 MB / 10.48 GB, free: 4.426 MB / 4.373 GB Notification: Performance of NFPackage.collectConstants: time 0.03051/40.1, allocations: 3.348 MB / 10.48 GB, free: 1.078 MB / 4.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07395/40.17, allocations: 12.82 MB / 10.49 GB, free: 7.824 MB / 4.389 GB Notification: Performance of NFScalarize.scalarize: time 0.04925/40.22, allocations: 17.37 MB / 10.51 GB, free: 11.08 MB / 4.404 GB Notification: Performance of NFVerifyModel.verify: time 0.1173/40.34, allocations: 45.47 MB / 10.56 GB, free: 11.93 MB / 4.436 GB Notification: Performance of NFConvertDAE.convert: time 0.1923/40.53, allocations: 154 MB / 10.71 GB, free: 14.36 MB / 4.576 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/40.53, allocations: 0 / 10.71 GB, free: 14.36 MB / 4.576 GB Notification: Performance of FrontEnd: time 4.909e-06/40.53, allocations: 2.719 kB / 10.71 GB, free: 14.36 MB / 4.576 GB Notification: Performance of Transformations before backend: time 0.006865/40.54, allocations: 3.938 kB / 10.71 GB, free: 14.36 MB / 4.576 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14207 * Number of variables: 14207 Notification: Performance of Generate backend data structure: time 0.2381/40.78, allocations: 89.85 MB / 10.79 GB, free: 4.75 MB / 4.654 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/40.78, allocations: 12.02 kB / 10.79 GB, free: 4.738 MB / 4.654 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.076/40.85, allocations: 13.76 MB / 10.81 GB, free: 6.855 MB / 4.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3034/41.16, allocations: 126.2 MB / 10.93 GB, free: 11.37 MB / 4.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005683/41.16, allocations: 5.135 MB / 10.93 GB, free: 6.062 MB / 4.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02328/41.18, allocations: 5.572 MB / 10.94 GB, free: 0.4922 MB / 4.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2177/41.4, allocations: 66.95 MB / 11.01 GB, free: 12.55 MB / 4.873 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002796/41.4, allocations: 60.34 kB / 11.01 GB, free: 12.53 MB / 4.873 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01916/41.42, allocations: 2.207 MB / 11.01 GB, free: 10.32 MB / 4.873 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/41.43, allocations: 1.737 MB / 11.01 GB, free: 8.582 MB / 4.873 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1398/41.57, allocations: 51.71 MB / 11.06 GB, free: 5.172 MB / 4.92 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.6215/42.19, allocations: 343.5 MB / 11.4 GB, free: 8.777 MB / 5.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07997/42.27, allocations: 37.24 MB / 11.43 GB, free: 1.891 MB / 5.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03165/42.3, allocations: 15.25 MB / 11.45 GB, free: 2.383 MB / 5.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004117/42.3, allocations: 2.324 MB / 11.45 GB, free: 15.67 MB / 5.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0334/42.34, allocations: 15.42 MB / 11.46 GB, free: 15.5 MB / 5.357 GB Notification: Performance of pre-optimization done (n=1629): time 4.602e-05/42.34, allocations: 0 / 11.46 GB, free: 15.5 MB / 5.357 GB Warning: Out of memory! Faking a stack overflow. [/var/lib/jenkins1/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/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/libOpenModelicaRuntimeC.so(GC.set.max.heap.size) [bt] #4 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so() [bt] #5 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(IndexReduction.replaceDummyDerivativesVar) [bt] #6 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.traverseBackendDAEVarsWithUpdate2) [bt] #7 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.traverseArrayNoCopyWithUpdate) [bt] #8 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.traverseBackendDAEVarsWithUpdate) [bt] #9 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(IndexReduction.replaceDummyDerivatives) [bt] #10 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(List.map1Fold) [bt] #11 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(IndexReduction.dynamicStateSelection) [bt] #12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.causalizeDAE) [bt] #13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.getSolvedSystem) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeMain.translateModel) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.callTranslateModel) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.translateModel) [bt] #17 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScriptBackend.cevalInteractiveFunctions3) [bt] #18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions2) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.cevalInteractiveFunctions) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(CevalScript.ceval) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExpr) [bt] #22 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluateExprToStr) [bt] #23 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate2) [bt] #24 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Interactive.evaluate) [bt] #25 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand2) [bt] #26 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.handleCommand) [bt] #27 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.interactivemodeZMQ) [bt] #28 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main2) [bt] #29 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Main.main) [bt] #30 /var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/bin/omc()